<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.9.1"/>
<title>opennars: aruntime/src/main/java/nars/storage/Memory.java Source File</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">opennars
   &#160;<span id="projectnumber">1.5.5</span>
   </div>
   <div id="projectbrief">1.5-ish</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.9.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="../../index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="../../pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="../../namespaces.html"><span>Packages</span></a></li>
      <li><a href="../../annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="../../files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="../../search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="../../search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="../../files.html"><span>File&#160;List</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('db/d0c/Memory_8java_source.html','../../');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">Memory.java</div>  </div>
</div><!--header-->
<div class="contents">
<a href="../../db/d0c/Memory_8java.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Memory.java</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * Copyright (C) 2008  Pei Wang</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * This file is part of Open-NARS.</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> * Open-NARS is free software; you can redistribute it and/or modify</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment"> * it under the terms of the GNU General Public License as published by</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment"> * the Free Software Foundation, either version 2 of the License, or</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment"> * (at your option) any later version.</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment"> * Open-NARS is distributed in the hope that it will be useful,</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment"> * but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment"> * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment"> * GNU General Public License for more details.</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment"> * You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment"> * along with Open-NARS.  If not, see &lt;http://www.gnu.org/licenses/&gt;.</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment"> */</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="keyword">package </span>nars.storage;</div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="keyword">import</span> java.io.BufferedReader;</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;<span class="keyword">import</span> java.io.BufferedWriter;</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;<span class="keyword">import</span> java.io.PrintStream;</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<span class="keyword">import</span> java.io.PrintWriter;</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;<span class="keyword">import</span> java.util.ArrayList;</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;<span class="keyword">import</span> java.util.HashMap;</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="keyword">import</span> java.util.List;</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;<span class="keyword">import</span> java.util.concurrent.atomic.AtomicInteger;</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;</div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;<span class="keyword">import</span> <a class="code" href="../../d7/d81/namespacenars.html">nars</a>.data.BudgetStruct;</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="keyword">import</span> <a class="code" href="../../d7/d81/namespacenars.html">nars</a>.data.TermStruct;</div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="keyword">import</span> <a class="code" href="../../d7/d81/namespacenars.html">nars</a>.<a class="code" href="../../db/dec/namespacenars_1_1entity.html">entity</a>.<a class="code" href="../../db/d8e/classnars_1_1entity_1_1BudgetValue.html">BudgetValue</a>;</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="keyword">import</span> <a class="code" href="../../d7/d81/namespacenars.html">nars</a>.<a class="code" href="../../db/dec/namespacenars_1_1entity.html">entity</a>.<a class="code" href="../../d4/d22/classnars_1_1entity_1_1Concept.html">Concept</a>;</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;<span class="keyword">import</span> <a class="code" href="../../d7/d81/namespacenars.html">nars</a>.<a class="code" href="../../db/dec/namespacenars_1_1entity.html">entity</a>.<a class="code" href="../../d1/dd1/classnars_1_1entity_1_1Item.html">Item</a>;</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="keyword">import</span> <a class="code" href="../../d7/d81/namespacenars.html">nars</a>.<a class="code" href="../../db/dec/namespacenars_1_1entity.html">entity</a>.<a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence.html">Sentence</a>;</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;<span class="keyword">import</span> <a class="code" href="../../d7/d81/namespacenars.html">nars</a>.<a class="code" href="../../db/dec/namespacenars_1_1entity.html">entity</a>.<a class="code" href="../../d1/d1e/classnars_1_1entity_1_1Stamp.html">Stamp</a>;</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;<span class="keyword">import</span> <a class="code" href="../../d7/d81/namespacenars.html">nars</a>.<a class="code" href="../../db/dec/namespacenars_1_1entity.html">entity</a>.<a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task.html">Task</a>;</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;<span class="keyword">import</span> <a class="code" href="../../d7/d81/namespacenars.html">nars</a>.<a class="code" href="../../db/dec/namespacenars_1_1entity.html">entity</a>.<a class="code" href="../../d9/d27/classnars_1_1entity_1_1TaskLink.html">TaskLink</a>;</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;<span class="keyword">import</span> <a class="code" href="../../d7/d81/namespacenars.html">nars</a>.<a class="code" href="../../db/dec/namespacenars_1_1entity.html">entity</a>.<a class="code" href="../../d4/d8b/classnars_1_1entity_1_1TermLink.html">TermLink</a>;</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;<span class="keyword">import</span> <a class="code" href="../../d7/d81/namespacenars.html">nars</a>.<a class="code" href="../../db/dec/namespacenars_1_1entity.html">entity</a>.<a class="code" href="../../d3/db8/classnars_1_1entity_1_1TruthValue.html">TruthValue</a>;</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;<span class="keyword">import</span> <a class="code" href="../../d7/d81/namespacenars.html">nars</a>.<a class="code" href="../../d9/d79/namespacenars_1_1inference.html">inference</a>.<a class="code" href="../../d7/d11/classnars_1_1inference_1_1BudgetFunctions.html">BudgetFunctions</a>;</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;<span class="keyword">import</span> <a class="code" href="../../d7/d81/namespacenars.html">nars</a>.<a class="code" href="../../db/d64/namespacenars_1_1io.html">io</a>.*;</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;<span class="keyword">import</span> <a class="code" href="../../d7/d81/namespacenars.html">nars</a>.<a class="code" href="../../d0/d72/namespacenars_1_1language.html">language</a>.<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a>;</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;<span class="keyword">import</span> <a class="code" href="../../d7/d81/namespacenars.html">nars</a>.<a class="code" href="../../d7/dfa/namespacenars_1_1main__nogui.html">main_nogui</a>.<a class="code" href="../../de/d7c/classnars_1_1main__nogui_1_1CommandLineParameters.html">CommandLineParameters</a>;</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;</div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory.html">   51</a></span>&#160;<span class="keyword">public</span> <span class="keyword">class </span><a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory.html">Memory</a> {</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;</div>
<div class="line"><a name="l00053"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a481aa9117eaaf8fb057ff76f16481cb6.html#a481aa9117eaaf8fb057ff76f16481cb6">   53</a></span>&#160;    <span class="keyword">private</span> <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch.html">ReasonerBatch</a> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a481aa9117eaaf8fb057ff76f16481cb6.html#a481aa9117eaaf8fb057ff76f16481cb6">reasoner</a>;</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    <span class="comment">/* ---------- Long-term storage for multiple cycles ---------- */</span></div>
<div class="line"><a name="l00056"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_aa2c5cb7f47cab7037c7a792ec5656f0c.html#aa2c5cb7f47cab7037c7a792ec5656f0c">   56</a></span>&#160;    <span class="keyword">private</span> <a class="code" href="../../dc/dbe/classnars_1_1storage_1_1ConceptBag.html">ConceptBag</a> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aa2c5cb7f47cab7037c7a792ec5656f0c.html#aa2c5cb7f47cab7037c7a792ec5656f0c">concepts</a>;</div>
<div class="line"><a name="l00057"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a122409cb4dd642e850d6f1e37fa0a93d.html#a122409cb4dd642e850d6f1e37fa0a93d">   57</a></span>&#160;    <span class="keyword">private</span> <a class="code" href="../../d1/df2/classnars_1_1storage_1_1NovelTaskBag.html">NovelTaskBag</a> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a122409cb4dd642e850d6f1e37fa0a93d.html#a122409cb4dd642e850d6f1e37fa0a93d">novelTasks</a>;</div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_ad5a9d6afc56ea914b0c5537117ebe8b9.html#ad5a9d6afc56ea914b0c5537117ebe8b9">   58</a></span>&#160;    <span class="keyword">private</span> <a class="code" href="../../db/d34/interfacenars_1_1io_1_1IInferenceRecorder.html">IInferenceRecorder</a> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_ad5a9d6afc56ea914b0c5537117ebe8b9.html#ad5a9d6afc56ea914b0c5537117ebe8b9">recorder</a>;</div>
<div class="line"><a name="l00059"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a6452df8d65ea0ab8ab26d76bccd3eb80.html#a6452df8d65ea0ab8ab26d76bccd3eb80">   59</a></span>&#160;    <span class="keyword">private</span> AtomicInteger <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a6452df8d65ea0ab8ab26d76bccd3eb80.html#a6452df8d65ea0ab8ab26d76bccd3eb80">beliefForgettingRate</a> = <span class="keyword">new</span> AtomicInteger(<a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters.html">Parameters</a>.<a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a842feca090255c91abbdbfb8a8b5a973.html#a842feca090255c91abbdbfb8a8b5a973">TERM_LINK_FORGETTING_CYCLE</a>);</div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_ad53ca952609ef865a8559e4a268a69dc.html#ad53ca952609ef865a8559e4a268a69dc">   60</a></span>&#160;    <span class="keyword">private</span> AtomicInteger <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_ad53ca952609ef865a8559e4a268a69dc.html#ad53ca952609ef865a8559e4a268a69dc">taskForgettingRate</a> = <span class="keyword">new</span> AtomicInteger(<a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters.html">Parameters</a>.<a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a1b397bff8cb94f89b61d34d93be47cad.html#a1b397bff8cb94f89b61d34d93be47cad">TASK_LINK_FORGETTING_CYCLE</a>);</div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_aab8a6a5767c266a7e4e8c57d92b99871.html#aab8a6a5767c266a7e4e8c57d92b99871">   61</a></span>&#160;    <span class="keyword">private</span> AtomicInteger <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aab8a6a5767c266a7e4e8c57d92b99871.html#aab8a6a5767c266a7e4e8c57d92b99871">conceptForgettingRate</a> = <span class="keyword">new</span> AtomicInteger(<a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters.html">Parameters</a>.<a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a6d8b507fed91cfbc98b65b335ee77986.html#a6d8b507fed91cfbc98b65b335ee77986">CONCEPT_FORGETTING_CYCLE</a>);</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    <span class="comment">/* ---------- Short-term workspace for a single cycle ---------- */</span></div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a8be39c6e446d0c96920e224a68b403da.html#a8be39c6e446d0c96920e224a68b403da">   64</a></span>&#160;    <span class="keyword">private</span> List&lt;Task&gt; <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a8be39c6e446d0c96920e224a68b403da.html#a8be39c6e446d0c96920e224a68b403da">newTasks</a>;</div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_aceb4422169329357b13d43fe8d485636.html#aceb4422169329357b13d43fe8d485636">   65</a></span>&#160;    <span class="keyword">private</span> List&lt;String&gt; <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aceb4422169329357b13d43fe8d485636.html#aceb4422169329357b13d43fe8d485636">exportStrings</a>;</div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_aba463345b3a16b90d8c98c7eeb9c8263.html#aba463345b3a16b90d8c98c7eeb9c8263">   66</a></span>&#160;    <span class="keyword">private</span> <a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aba463345b3a16b90d8c98c7eeb9c8263.html#aba463345b3a16b90d8c98c7eeb9c8263">currentTerm</a>;</div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a04e47e2e73b2ba3d204c59443f4b28ca.html#a04e47e2e73b2ba3d204c59443f4b28ca">   67</a></span>&#160;    <span class="keyword">private</span> <a class="code" href="../../d4/d22/classnars_1_1entity_1_1Concept.html">Concept</a> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a04e47e2e73b2ba3d204c59443f4b28ca.html#a04e47e2e73b2ba3d204c59443f4b28ca">currentConcept</a>;</div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_afba2a1153e78a534d4e3eaed5b0fab4b.html#afba2a1153e78a534d4e3eaed5b0fab4b">   68</a></span>&#160;    <span class="keyword">private</span> <a class="code" href="../../d9/d27/classnars_1_1entity_1_1TaskLink.html">TaskLink</a> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_afba2a1153e78a534d4e3eaed5b0fab4b.html#afba2a1153e78a534d4e3eaed5b0fab4b">currentTaskLink</a>;</div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a453c463e690a18bf6cba62e3f27c1e72.html#a453c463e690a18bf6cba62e3f27c1e72">   69</a></span>&#160;    <span class="keyword">private</span> <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task.html">Task</a> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a453c463e690a18bf6cba62e3f27c1e72.html#a453c463e690a18bf6cba62e3f27c1e72">currentTask</a>;</div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a49546cffa504adec47732213db21f02a.html#a49546cffa504adec47732213db21f02a">   70</a></span>&#160;    <span class="keyword">private</span> <a class="code" href="../../d4/d8b/classnars_1_1entity_1_1TermLink.html">TermLink</a> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a49546cffa504adec47732213db21f02a.html#a49546cffa504adec47732213db21f02a">currentBeliefLink</a>;</div>
<div class="line"><a name="l00071"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_afeb33d4d2ca9e749ee7957713d1c993d.html#afeb33d4d2ca9e749ee7957713d1c993d">   71</a></span>&#160;    <span class="keyword">private</span> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence.html">Sentence</a> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_afeb33d4d2ca9e749ee7957713d1c993d.html#afeb33d4d2ca9e749ee7957713d1c993d">currentBelief</a>;</div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_abd47ecd35e1df5fa418f2a07545d6f2d.html#abd47ecd35e1df5fa418f2a07545d6f2d">   72</a></span>&#160;    <span class="keyword">private</span> <a class="code" href="../../d1/d1e/classnars_1_1entity_1_1Stamp.html">Stamp</a> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_abd47ecd35e1df5fa418f2a07545d6f2d.html#abd47ecd35e1df5fa418f2a07545d6f2d">newStamp</a>;</div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a1f7d33641b5c944c9b9a26a69b01e4b6.html#a1f7d33641b5c944c9b9a26a69b01e4b6">   73</a></span>&#160;    <span class="keyword">private</span> HashMap&lt;Term, Term&gt; <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a1f7d33641b5c944c9b9a26a69b01e4b6.html#a1f7d33641b5c944c9b9a26a69b01e4b6">substitute</a>;</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;    <span class="comment">/* ---------- Constructor ---------- */</span></div>
<div class="line"><a name="l00082"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a3d47e1393f4751a94e1b18e64c9fa2ef.html#a3d47e1393f4751a94e1b18e64c9fa2ef">   82</a></span>&#160;    <span class="keyword">public</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a3d47e1393f4751a94e1b18e64c9fa2ef.html#a3d47e1393f4751a94e1b18e64c9fa2ef">Memory</a>(<a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch.html">ReasonerBatch</a> reasoner) {</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;        this.<a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_ab98ad1b36aa77d470f4b6b7df29f1fd8.html#ab98ad1b36aa77d470f4b6b7df29f1fd8">setReasoner</a>(reasoner);</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;        <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a43ad4121ee38fdede43e4424e5a94eb1.html#a43ad4121ee38fdede43e4424e5a94eb1">setRecorder</a>(<span class="keyword">new</span> <a class="code" href="../../de/d27/classnars_1_1storage_1_1Memory_1_1NullInferenceRecorder.html">NullInferenceRecorder</a>());</div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;        <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_ab35f24f2e05fb428d36d7e86b5009cb2.html#ab35f24f2e05fb428d36d7e86b5009cb2">setConcepts</a>(<span class="keyword">new</span> <a class="code" href="../../dc/dbe/classnars_1_1storage_1_1ConceptBag.html">ConceptBag</a>(<span class="keyword">this</span>));</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;        <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a004fc746c755e9448a36be1bc48bfe30.html#a004fc746c755e9448a36be1bc48bfe30">setNovelTasks</a>(<span class="keyword">new</span> <a class="code" href="../../d1/df2/classnars_1_1storage_1_1NovelTaskBag.html">NovelTaskBag</a>(<span class="keyword">this</span>));</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;        <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_af366ebf6ee22511021272241a397e54d.html#af366ebf6ee22511021272241a397e54d">setNewTasks</a>(<span class="keyword">new</span> ArrayList&lt;Task&gt;());</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;        <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a9f579556cc722fff72241bbca4fcdd08.html#a9f579556cc722fff72241bbca4fcdd08">setExportStrings</a>(<span class="keyword">new</span> ArrayList&lt;String&gt;());</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;    }</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;</div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_ac58580cf0e27e42f1972939bec1c0553.html#ac58580cf0e27e42f1972939bec1c0553">   91</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_ac58580cf0e27e42f1972939bec1c0553.html#ac58580cf0e27e42f1972939bec1c0553">init</a>() {</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;        <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a33af7b3d806d32c85390563fec3c6d27.html#a33af7b3d806d32c85390563fec3c6d27">getConcepts</a>().<a class="code" href="../../d9/d37/classnars_1_1storage_1_1Bag_a4f481c434a5a4ac0004138ba81fd426f.html#a4f481c434a5a4ac0004138ba81fd426f">init</a>();</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;        <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aa15a4cd104018dc9b98ceaa12d54255d.html#aa15a4cd104018dc9b98ceaa12d54255d">getNovelTasks</a>().<a class="code" href="../../d9/d37/classnars_1_1storage_1_1Bag_a4f481c434a5a4ac0004138ba81fd426f.html#a4f481c434a5a4ac0004138ba81fd426f">init</a>();</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;        <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a8c50bdf4f2750032f24965e12e9fb59c.html#a8c50bdf4f2750032f24965e12e9fb59c">getNewTasks</a>().clear();</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;        <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a1a17565c7b06ca4ecc1ed57c3fce973f.html#a1a17565c7b06ca4ecc1ed57c3fce973f">getExportStrings</a>().clear();</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;<span class="comment">//      reasoner.getMainWindow().initTimer();</span></div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;        <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a076ad9a0e872386bca3f2d17fa7cb2d4.html#a076ad9a0e872386bca3f2d17fa7cb2d4">getReasoner</a>().<a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_af29e66c0813aeea26cc4afea9735473e.html#af29e66c0813aeea26cc4afea9735473e">initTimer</a>();</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;        <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aa4c7e1f5823d0404c0cab49b617968f1.html#aa4c7e1f5823d0404c0cab49b617968f1">getRecorder</a>().<a class="code" href="../../db/d34/interfacenars_1_1io_1_1IInferenceRecorder_acb473be6e5d774c10781bc8e74453459.html#acb473be6e5d774c10781bc8e74453459">append</a>(<span class="stringliteral">&quot;\n-----RESET-----\n&quot;</span>);</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;    }</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160; <span class="comment">/* ---------- access utilities ---------- */</span></div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a1a17565c7b06ca4ecc1ed57c3fce973f.html#a1a17565c7b06ca4ecc1ed57c3fce973f">  104</a></span>&#160;    <span class="keyword">public</span> List&lt;String&gt; <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a1a17565c7b06ca4ecc1ed57c3fce973f.html#a1a17565c7b06ca4ecc1ed57c3fce973f">getExportStrings</a>() {</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aceb4422169329357b13d43fe8d485636.html#aceb4422169329357b13d43fe8d485636">exportStrings</a>;</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;    }</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;</div>
<div class="line"><a name="l00111"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_aa4c7e1f5823d0404c0cab49b617968f1.html#aa4c7e1f5823d0404c0cab49b617968f1">  111</a></span>&#160;    <span class="keyword">public</span> <a class="code" href="../../db/d34/interfacenars_1_1io_1_1IInferenceRecorder.html">IInferenceRecorder</a> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aa4c7e1f5823d0404c0cab49b617968f1.html#aa4c7e1f5823d0404c0cab49b617968f1">getRecorder</a>() {</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_ad5a9d6afc56ea914b0c5537117ebe8b9.html#ad5a9d6afc56ea914b0c5537117ebe8b9">recorder</a>;</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;    }</div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div>
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a43ad4121ee38fdede43e4424e5a94eb1.html#a43ad4121ee38fdede43e4424e5a94eb1">  115</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a43ad4121ee38fdede43e4424e5a94eb1.html#a43ad4121ee38fdede43e4424e5a94eb1">setRecorder</a>(<a class="code" href="../../db/d34/interfacenars_1_1io_1_1IInferenceRecorder.html">IInferenceRecorder</a> recorder) {</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;        this.recorder = <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_ad5a9d6afc56ea914b0c5537117ebe8b9.html#ad5a9d6afc56ea914b0c5537117ebe8b9">recorder</a>;</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    }</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;</div>
<div class="line"><a name="l00119"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_aaa97540563b646b33db1263fa3a97d53.html#aaa97540563b646b33db1263fa3a97d53">  119</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">long</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aaa97540563b646b33db1263fa3a97d53.html#aaa97540563b646b33db1263fa3a97d53">getTime</a>() {</div>
<div class="line"><a name="l00120"></a><span class="lineno">  120</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a076ad9a0e872386bca3f2d17fa7cb2d4.html#a076ad9a0e872386bca3f2d17fa7cb2d4">getReasoner</a>().<a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_aaf7efb6a6732b702669e9548bdb3a243.html#aaf7efb6a6732b702669e9548bdb3a243">getTime</a>();</div>
<div class="line"><a name="l00121"></a><span class="lineno">  121</span>&#160;    }</div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;<span class="comment">//    public MainWindow getMainWindow() {</span></div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;<span class="comment">//        return reasoner.getMainWindow();</span></div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;<span class="comment">//    }</span></div>
<div class="line"><a name="l00129"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a871fc44819f07232afb4573ad704dee0.html#a871fc44819f07232afb4573ad704dee0">  129</a></span>&#160;<span class="comment"></span>    <span class="keyword">public</span> <span class="keywordtype">boolean</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a871fc44819f07232afb4573ad704dee0.html#a871fc44819f07232afb4573ad704dee0">noResult</a>() {</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a8c50bdf4f2750032f24965e12e9fb59c.html#a8c50bdf4f2750032f24965e12e9fb59c">getNewTasks</a>().isEmpty();</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;    }</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;    <span class="comment">/* ---------- conversion utilities ---------- */</span></div>
<div class="line"><a name="l00141"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a4b9b24a52eef75c131372b8e08e2dc6d.html#a4b9b24a52eef75c131372b8e08e2dc6d">  141</a></span>&#160;    <span class="keyword">public</span> <a class="code" href="../../d4/d22/classnars_1_1entity_1_1Concept.html">Concept</a> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a4b9b24a52eef75c131372b8e08e2dc6d.html#a4b9b24a52eef75c131372b8e08e2dc6d">nameToConcept</a>(String name) {</div>
<div class="line"><a name="l00142"></a><span class="lineno">  142</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a33af7b3d806d32c85390563fec3c6d27.html#a33af7b3d806d32c85390563fec3c6d27">getConcepts</a>().<a class="code" href="../../d9/d37/classnars_1_1storage_1_1Bag_a011b37fc683db7fb7b41e33712a37d92.html#a011b37fc683db7fb7b41e33712a37d92">get</a>(name);</div>
<div class="line"><a name="l00143"></a><span class="lineno">  143</span>&#160;    }</div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;</div>
<div class="line"><a name="l00152"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a63058cc52d77412e0aead8387c23aa93.html#a63058cc52d77412e0aead8387c23aa93">  152</a></span>&#160;    <span class="keyword">public</span> <a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a63058cc52d77412e0aead8387c23aa93.html#a63058cc52d77412e0aead8387c23aa93">nameToListedTerm</a>(String name) {</div>
<div class="line"><a name="l00153"></a><span class="lineno">  153</span>&#160;        <a class="code" href="../../d4/d22/classnars_1_1entity_1_1Concept.html">Concept</a> concept = <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a33af7b3d806d32c85390563fec3c6d27.html#a33af7b3d806d32c85390563fec3c6d27">getConcepts</a>().<a class="code" href="../../d9/d37/classnars_1_1storage_1_1Bag_a011b37fc683db7fb7b41e33712a37d92.html#a011b37fc683db7fb7b41e33712a37d92">get</a>(name);</div>
<div class="line"><a name="l00154"></a><span class="lineno">  154</span>&#160;        <span class="keywordflow">if</span> (concept != null) {</div>
<div class="line"><a name="l00155"></a><span class="lineno">  155</span>&#160;            <span class="keywordflow">return</span> concept.<a class="code" href="../../d4/d22/classnars_1_1entity_1_1Concept_afcd1217b7680b073fa51f0d0f159dcea.html#afcd1217b7680b073fa51f0d0f159dcea">getTerm</a>();</div>
<div class="line"><a name="l00156"></a><span class="lineno">  156</span>&#160;        }</div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;        <span class="keywordflow">return</span> null;</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;    }</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;</div>
<div class="line"><a name="l00166"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a19d1a5ec8277f907caaef4ecfcab2f28.html#a19d1a5ec8277f907caaef4ecfcab2f28">  166</a></span>&#160;    <span class="keyword">public</span> <a class="code" href="../../d4/d22/classnars_1_1entity_1_1Concept.html">Concept</a> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a19d1a5ec8277f907caaef4ecfcab2f28.html#a19d1a5ec8277f907caaef4ecfcab2f28">termToConcept</a>(TermStruct term) {</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a4b9b24a52eef75c131372b8e08e2dc6d.html#a4b9b24a52eef75c131372b8e08e2dc6d">nameToConcept</a>(term.getName());</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160;    }</div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;</div>
<div class="line"><a name="l00176"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a3f45cdc40973611106276cfbc27a7a7a.html#a3f45cdc40973611106276cfbc27a7a7a">  176</a></span>&#160;    <span class="keyword">public</span> <a class="code" href="../../d4/d22/classnars_1_1entity_1_1Concept.html">Concept</a> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a3f45cdc40973611106276cfbc27a7a7a.html#a3f45cdc40973611106276cfbc27a7a7a">getConcept</a>(<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> term) {</div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;        <span class="keywordflow">if</span> (!term.<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term_a88297bdbbfb5f3e292783647b14f0c70.html#a88297bdbbfb5f3e292783647b14f0c70">isConstant</a>()) {</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;            <span class="keywordflow">return</span> null;</div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;        }</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;        String n = term.<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term_a3aad4654016b8615fd4fa8a26668e1db.html#a3aad4654016b8615fd4fa8a26668e1db">getName</a>();</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;        <a class="code" href="../../d4/d22/classnars_1_1entity_1_1Concept.html">Concept</a> concept = <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a33af7b3d806d32c85390563fec3c6d27.html#a33af7b3d806d32c85390563fec3c6d27">getConcepts</a>().<a class="code" href="../../d9/d37/classnars_1_1storage_1_1Bag_a011b37fc683db7fb7b41e33712a37d92.html#a011b37fc683db7fb7b41e33712a37d92">get</a>(n);</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;        <span class="keywordflow">if</span> (concept == null) {</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;            concept = <span class="keyword">new</span> <a class="code" href="../../d4/d22/classnars_1_1entity_1_1Concept.html">Concept</a>(term, <span class="keyword">this</span>); <span class="comment">// the only place to make a new Concept</span></div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;            <span class="keywordtype">boolean</span> created = <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a33af7b3d806d32c85390563fec3c6d27.html#a33af7b3d806d32c85390563fec3c6d27">getConcepts</a>().<a class="code" href="../../d9/d37/classnars_1_1storage_1_1Bag_a9d42fa45681a07796750a350e08d095b.html#a9d42fa45681a07796750a350e08d095b">putIn</a>(concept);</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;            <span class="keywordflow">if</span> (!created) {</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;                <span class="keywordflow">return</span> null;</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;            }</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;        }</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;        <span class="keywordflow">return</span> concept;</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;    }</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;    <span class="comment">/* ---------- adjustment functions ---------- */</span></div>
<div class="line"><a name="l00200"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a765f58846c419efbd2d9f1a0dd9f4c4d.html#a765f58846c419efbd2d9f1a0dd9f4c4d">  200</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a765f58846c419efbd2d9f1a0dd9f4c4d.html#a765f58846c419efbd2d9f1a0dd9f4c4d">activateConcept</a>(<a class="code" href="../../d4/d22/classnars_1_1entity_1_1Concept.html">Concept</a> c, BudgetStruct b) {</div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;        <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a33af7b3d806d32c85390563fec3c6d27.html#a33af7b3d806d32c85390563fec3c6d27">getConcepts</a>().<a class="code" href="../../d9/d37/classnars_1_1storage_1_1Bag_ac72ca10afde302a1c190a185947781e3.html#ac72ca10afde302a1c190a185947781e3">pickOut</a>(c.<a class="code" href="../../d1/dd1/classnars_1_1entity_1_1Item_ab5c9fbb171f325844966b496010acf60.html#ab5c9fbb171f325844966b496010acf60">getKey</a>());</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;        <a class="code" href="../../d7/d11/classnars_1_1inference_1_1BudgetFunctions.html">BudgetFunctions</a>.<a class="code" href="../../d7/d11/classnars_1_1inference_1_1BudgetFunctions_aabac530761ea7ac0f43f0d1ea8d085c8.html#aabac530761ea7ac0f43f0d1ea8d085c8">activate</a>(c, b);</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;        <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a33af7b3d806d32c85390563fec3c6d27.html#a33af7b3d806d32c85390563fec3c6d27">getConcepts</a>().<a class="code" href="../../d9/d37/classnars_1_1storage_1_1Bag_a64b0b75c54e6882a28702d7810094656.html#a64b0b75c54e6882a28702d7810094656">putBack</a>(c);</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;    }</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;</div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;    <span class="comment">/* ---------- new task entries ---------- */</span></div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;</div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;    <span class="comment">/* There are several types of new tasks, all added into the</span></div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;<span class="comment">     newTasks list, to be processed in the next workCycle.</span></div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;<span class="comment">     Some of them are reported and/or logged. */</span></div>
<div class="line"><a name="l00218"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_aced4c4f51d46fb7046111aac85deffdc.html#aced4c4f51d46fb7046111aac85deffdc">  218</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aced4c4f51d46fb7046111aac85deffdc.html#aced4c4f51d46fb7046111aac85deffdc">inputTask</a>(<a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task.html">Task</a> task) {</div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;        <span class="keywordflow">if</span> (task.<a class="code" href="../../d1/dd1/classnars_1_1entity_1_1Item_a54fc0a370b847dd77c0a698c765e6e55.html#a54fc0a370b847dd77c0a698c765e6e55">getBudget</a>().<a class="code" href="../../db/d8e/classnars_1_1entity_1_1BudgetValue_ae83b822f3bab4c1831e94d72fc770f58.html#ae83b822f3bab4c1831e94d72fc770f58">aboveThreshold</a>()) {</div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;            <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aa4c7e1f5823d0404c0cab49b617968f1.html#aa4c7e1f5823d0404c0cab49b617968f1">getRecorder</a>().<a class="code" href="../../db/d34/interfacenars_1_1io_1_1IInferenceRecorder_acb473be6e5d774c10781bc8e74453459.html#acb473be6e5d774c10781bc8e74453459">append</a>(<span class="stringliteral">&quot;!!! Perceived: &quot;</span> + task + <span class="stringliteral">&quot;\n&quot;</span>);</div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;            <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a26cbb4acec5bb2c23a048d7deba4051d.html#a26cbb4acec5bb2c23a048d7deba4051d">report</a>(task.<a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_ab140cb553a6cf40b07093d1df283567f.html#ab140cb553a6cf40b07093d1df283567f">getSentence</a>(), <span class="keyword">true</span>);    <span class="comment">// report input</span></div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;            <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a8c50bdf4f2750032f24965e12e9fb59c.html#a8c50bdf4f2750032f24965e12e9fb59c">getNewTasks</a>().add(task);       <span class="comment">// wait to be processed in the next workCycle</span></div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;        } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;            <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aa4c7e1f5823d0404c0cab49b617968f1.html#aa4c7e1f5823d0404c0cab49b617968f1">getRecorder</a>().<a class="code" href="../../db/d34/interfacenars_1_1io_1_1IInferenceRecorder_acb473be6e5d774c10781bc8e74453459.html#acb473be6e5d774c10781bc8e74453459">append</a>(<span class="stringliteral">&quot;!!! Neglected: &quot;</span> + task + <span class="stringliteral">&quot;\n&quot;</span>);</div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160;        }</div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;    }</div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;</div>
<div class="line"><a name="l00237"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_aa0cec63b98350a34c10513f3efeaff86.html#aa0cec63b98350a34c10513f3efeaff86">  237</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aa0cec63b98350a34c10513f3efeaff86.html#aa0cec63b98350a34c10513f3efeaff86">activatedTask</a>(<a class="code" href="../../db/d8e/classnars_1_1entity_1_1BudgetValue.html">BudgetValue</a> budget, <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence.html">Sentence</a> sentence, <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence.html">Sentence</a> candidateBelief) {</div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;        <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task.html">Task</a> task = <span class="keyword">new</span> <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task.html">Task</a>(sentence, budget, <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a26eda4f00b333b706b4e3d069fdf1508.html#a26eda4f00b333b706b4e3d069fdf1508">getCurrentTask</a>(), sentence, candidateBelief);</div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;        <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aa4c7e1f5823d0404c0cab49b617968f1.html#aa4c7e1f5823d0404c0cab49b617968f1">getRecorder</a>().<a class="code" href="../../db/d34/interfacenars_1_1io_1_1IInferenceRecorder_acb473be6e5d774c10781bc8e74453459.html#acb473be6e5d774c10781bc8e74453459">append</a>(<span class="stringliteral">&quot;!!! Activated: &quot;</span> + task.<a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_a73b96cd17fd93eeab0cc94bd36f25e66.html#a73b96cd17fd93eeab0cc94bd36f25e66">toString</a>() + <span class="stringliteral">&quot;\n&quot;</span>);</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;        <span class="keywordflow">if</span> (sentence.<a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_acb98b40c8990dbe5e15061f0759c60ee.html#acb98b40c8990dbe5e15061f0759c60ee">isQuestion</a>()) {</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;            <span class="keywordtype">float</span> s = task.<a class="code" href="../../d1/dd1/classnars_1_1entity_1_1Item_a54fc0a370b847dd77c0a698c765e6e55.html#a54fc0a370b847dd77c0a698c765e6e55">getBudget</a>().<a class="code" href="../../db/d8e/classnars_1_1entity_1_1BudgetValue_af414899759992288edbba78d7457c534.html#af414899759992288edbba78d7457c534">summary</a>();</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;<span class="comment">//            float minSilent = reasoner.getMainWindow().silentW.value() / 100.0f;</span></div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;            <span class="keywordtype">float</span> minSilent = <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a076ad9a0e872386bca3f2d17fa7cb2d4.html#a076ad9a0e872386bca3f2d17fa7cb2d4">getReasoner</a>().<a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a482c1432496bcae846033c7ef917edb7.html#a482c1432496bcae846033c7ef917edb7">getSilenceValue</a>().get() / 100.0f;</div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;            <span class="keywordflow">if</span> (s &gt; minSilent) {  <span class="comment">// only report significant derived Tasks</span></div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;                <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a26cbb4acec5bb2c23a048d7deba4051d.html#a26cbb4acec5bb2c23a048d7deba4051d">report</a>(task.<a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_ab140cb553a6cf40b07093d1df283567f.html#ab140cb553a6cf40b07093d1df283567f">getSentence</a>(), <span class="keyword">false</span>);</div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;            }</div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;        }</div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;        <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a8c50bdf4f2750032f24965e12e9fb59c.html#a8c50bdf4f2750032f24965e12e9fb59c">getNewTasks</a>().add(task);</div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;    }</div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;</div>
<div class="line"><a name="l00256"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_af46c161061654d05bfe6c5db768ef2ef.html#af46c161061654d05bfe6c5db768ef2ef">  256</a></span>&#160;    <span class="keyword">private</span> <span class="keywordtype">void</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_af46c161061654d05bfe6c5db768ef2ef.html#af46c161061654d05bfe6c5db768ef2ef">derivedTask</a>(<a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task.html">Task</a> task) {</div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;        <span class="keywordflow">if</span> (task.<a class="code" href="../../d1/dd1/classnars_1_1entity_1_1Item_a54fc0a370b847dd77c0a698c765e6e55.html#a54fc0a370b847dd77c0a698c765e6e55">getBudget</a>().<a class="code" href="../../db/d8e/classnars_1_1entity_1_1BudgetValue_ae83b822f3bab4c1831e94d72fc770f58.html#ae83b822f3bab4c1831e94d72fc770f58">aboveThreshold</a>()) {</div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;            <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aa4c7e1f5823d0404c0cab49b617968f1.html#aa4c7e1f5823d0404c0cab49b617968f1">getRecorder</a>().<a class="code" href="../../db/d34/interfacenars_1_1io_1_1IInferenceRecorder_acb473be6e5d774c10781bc8e74453459.html#acb473be6e5d774c10781bc8e74453459">append</a>(<span class="stringliteral">&quot;!!! Derived: &quot;</span> + task + <span class="stringliteral">&quot;\n&quot;</span>);</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;            <span class="keywordtype">float</span> budget = task.<a class="code" href="../../d1/dd1/classnars_1_1entity_1_1Item_a54fc0a370b847dd77c0a698c765e6e55.html#a54fc0a370b847dd77c0a698c765e6e55">getBudget</a>().<a class="code" href="../../db/d8e/classnars_1_1entity_1_1BudgetValue_af414899759992288edbba78d7457c534.html#af414899759992288edbba78d7457c534">summary</a>();</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;<span class="comment">//            float minSilent = reasoner.getMainWindow().silentW.value() / 100.0f;</span></div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;            <span class="keywordtype">float</span> minSilent = <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a076ad9a0e872386bca3f2d17fa7cb2d4.html#a076ad9a0e872386bca3f2d17fa7cb2d4">getReasoner</a>().<a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a482c1432496bcae846033c7ef917edb7.html#a482c1432496bcae846033c7ef917edb7">getSilenceValue</a>().get() / 100.0f;</div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;            <span class="keywordflow">if</span> (budget &gt; minSilent) {  <span class="comment">// only report significant derived Tasks</span></div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;                <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a26cbb4acec5bb2c23a048d7deba4051d.html#a26cbb4acec5bb2c23a048d7deba4051d">report</a>(task.<a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_ab140cb553a6cf40b07093d1df283567f.html#ab140cb553a6cf40b07093d1df283567f">getSentence</a>(), <span class="keyword">false</span>);</div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;            }</div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;            <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a8c50bdf4f2750032f24965e12e9fb59c.html#a8c50bdf4f2750032f24965e12e9fb59c">getNewTasks</a>().add(task);</div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;        } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;            <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aa4c7e1f5823d0404c0cab49b617968f1.html#aa4c7e1f5823d0404c0cab49b617968f1">getRecorder</a>().<a class="code" href="../../db/d34/interfacenars_1_1io_1_1IInferenceRecorder_acb473be6e5d774c10781bc8e74453459.html#acb473be6e5d774c10781bc8e74453459">append</a>(<span class="stringliteral">&quot;!!! Ignored: &quot;</span> + task + <span class="stringliteral">&quot;\n&quot;</span>);</div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;        }</div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;    }</div>
<div class="line"><a name="l00270"></a><span class="lineno">  270</span>&#160;</div>
<div class="line"><a name="l00271"></a><span class="lineno">  271</span>&#160;    <span class="comment">/* --------------- new task building --------------- */</span></div>
<div class="line"><a name="l00280"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a077b38e451ff6e4217bdc2ff0bb08e70.html#a077b38e451ff6e4217bdc2ff0bb08e70">  280</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a077b38e451ff6e4217bdc2ff0bb08e70.html#a077b38e451ff6e4217bdc2ff0bb08e70">doublePremiseTask</a>(<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> newContent, <a class="code" href="../../d3/db8/classnars_1_1entity_1_1TruthValue.html">TruthValue</a> newTruth, <a class="code" href="../../db/d8e/classnars_1_1entity_1_1BudgetValue.html">BudgetValue</a> newBudget) {</div>
<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160;        <span class="keywordflow">if</span> (newContent != null) {</div>
<div class="line"><a name="l00282"></a><span class="lineno">  282</span>&#160;            <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence.html">Sentence</a> newSentence = <span class="keyword">new</span> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence.html">Sentence</a>(newContent, <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a26eda4f00b333b706b4e3d069fdf1508.html#a26eda4f00b333b706b4e3d069fdf1508">getCurrentTask</a>().getSentence().getPunctuation(), newTruth, <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a09af34150e8562d5c93170388c8804b7.html#a09af34150e8562d5c93170388c8804b7">getNewStamp</a>());</div>
<div class="line"><a name="l00283"></a><span class="lineno">  283</span>&#160;            <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task.html">Task</a> newTask = <span class="keyword">new</span> <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task.html">Task</a>(newSentence, newBudget, <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a26eda4f00b333b706b4e3d069fdf1508.html#a26eda4f00b333b706b4e3d069fdf1508">getCurrentTask</a>(), <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aae366ea198c2340fef786120d5c2163b.html#aae366ea198c2340fef786120d5c2163b">getCurrentBelief</a>());</div>
<div class="line"><a name="l00284"></a><span class="lineno">  284</span>&#160;            <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_af46c161061654d05bfe6c5db768ef2ef.html#af46c161061654d05bfe6c5db768ef2ef">derivedTask</a>(newTask);</div>
<div class="line"><a name="l00285"></a><span class="lineno">  285</span>&#160;        }</div>
<div class="line"><a name="l00286"></a><span class="lineno">  286</span>&#160;    }</div>
<div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;</div>
<div class="line"><a name="l00297"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a4d5bb127d41331debed26b54e406104d.html#a4d5bb127d41331debed26b54e406104d">  297</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a4d5bb127d41331debed26b54e406104d.html#a4d5bb127d41331debed26b54e406104d">doublePremiseTask</a>(<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> newContent, <a class="code" href="../../d3/db8/classnars_1_1entity_1_1TruthValue.html">TruthValue</a> newTruth, <a class="code" href="../../db/d8e/classnars_1_1entity_1_1BudgetValue.html">BudgetValue</a> newBudget, <span class="keywordtype">boolean</span> revisible) {</div>
<div class="line"><a name="l00298"></a><span class="lineno">  298</span>&#160;        <span class="keywordflow">if</span> (newContent != null) {</div>
<div class="line"><a name="l00299"></a><span class="lineno">  299</span>&#160;            <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence.html">Sentence</a> taskSentence = <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a26eda4f00b333b706b4e3d069fdf1508.html#a26eda4f00b333b706b4e3d069fdf1508">getCurrentTask</a>().<a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_ab140cb553a6cf40b07093d1df283567f.html#ab140cb553a6cf40b07093d1df283567f">getSentence</a>();</div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;            <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence.html">Sentence</a> newSentence = <span class="keyword">new</span> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence.html">Sentence</a>(newContent, taskSentence.<a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a3e0fe978c5d87f921a277fd067982980.html#a3e0fe978c5d87f921a277fd067982980">getPunctuation</a>(), newTruth, <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a09af34150e8562d5c93170388c8804b7.html#a09af34150e8562d5c93170388c8804b7">getNewStamp</a>(), revisible);</div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160;            <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task.html">Task</a> newTask = <span class="keyword">new</span> <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task.html">Task</a>(newSentence, newBudget, <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a26eda4f00b333b706b4e3d069fdf1508.html#a26eda4f00b333b706b4e3d069fdf1508">getCurrentTask</a>(), <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aae366ea198c2340fef786120d5c2163b.html#aae366ea198c2340fef786120d5c2163b">getCurrentBelief</a>());</div>
<div class="line"><a name="l00302"></a><span class="lineno">  302</span>&#160;            <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_af46c161061654d05bfe6c5db768ef2ef.html#af46c161061654d05bfe6c5db768ef2ef">derivedTask</a>(newTask);</div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;        }</div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;    }</div>
<div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;</div>
<div class="line"><a name="l00314"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_aec1106814819aa1c8437001c2c4bf1a3.html#aec1106814819aa1c8437001c2c4bf1a3">  314</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aec1106814819aa1c8437001c2c4bf1a3.html#aec1106814819aa1c8437001c2c4bf1a3">singlePremiseTask</a>(<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> newContent, <a class="code" href="../../d3/db8/classnars_1_1entity_1_1TruthValue.html">TruthValue</a> newTruth, <a class="code" href="../../db/d8e/classnars_1_1entity_1_1BudgetValue.html">BudgetValue</a> newBudget) {</div>
<div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160;        <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aec1106814819aa1c8437001c2c4bf1a3.html#aec1106814819aa1c8437001c2c4bf1a3">singlePremiseTask</a>(newContent, <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a26eda4f00b333b706b4e3d069fdf1508.html#a26eda4f00b333b706b4e3d069fdf1508">getCurrentTask</a>().getSentence().getPunctuation(), newTruth, newBudget);</div>
<div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;    }</div>
<div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;</div>
<div class="line"><a name="l00327"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_afe7a5bf6ae7ad1a22e72da27e1ed685c.html#afe7a5bf6ae7ad1a22e72da27e1ed685c">  327</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_afe7a5bf6ae7ad1a22e72da27e1ed685c.html#afe7a5bf6ae7ad1a22e72da27e1ed685c">singlePremiseTask</a>(<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> newContent, <span class="keywordtype">char</span> punctuation, <a class="code" href="../../d3/db8/classnars_1_1entity_1_1TruthValue.html">TruthValue</a> newTruth, <a class="code" href="../../db/d8e/classnars_1_1entity_1_1BudgetValue.html">BudgetValue</a> newBudget) {</div>
<div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;        <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence.html">Sentence</a> taskSentence = <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a26eda4f00b333b706b4e3d069fdf1508.html#a26eda4f00b333b706b4e3d069fdf1508">getCurrentTask</a>().<a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_ab140cb553a6cf40b07093d1df283567f.html#ab140cb553a6cf40b07093d1df283567f">getSentence</a>();</div>
<div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;        <span class="keywordflow">if</span> (taskSentence.<a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a7d95d60caaf4c895559182a7eb2ff71e.html#a7d95d60caaf4c895559182a7eb2ff71e">isJudgment</a>() || <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aae366ea198c2340fef786120d5c2163b.html#aae366ea198c2340fef786120d5c2163b">getCurrentBelief</a>() == null) {</div>
<div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;            <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aa8d87fbd9fbd6229e88184fd23553778.html#aa8d87fbd9fbd6229e88184fd23553778">setNewStamp</a>(<span class="keyword">new</span> <a class="code" href="../../d1/d1e/classnars_1_1entity_1_1Stamp.html">Stamp</a>(taskSentence.<a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_ac0ed749c50e55120d5b63219ed7eb082.html#ac0ed749c50e55120d5b63219ed7eb082">getStamp</a>(), <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aaa97540563b646b33db1263fa3a97d53.html#aaa97540563b646b33db1263fa3a97d53">getTime</a>()));</div>
<div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;        } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;            <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aa8d87fbd9fbd6229e88184fd23553778.html#aa8d87fbd9fbd6229e88184fd23553778">setNewStamp</a>(<span class="keyword">new</span> <a class="code" href="../../d1/d1e/classnars_1_1entity_1_1Stamp.html">Stamp</a>(<a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aae366ea198c2340fef786120d5c2163b.html#aae366ea198c2340fef786120d5c2163b">getCurrentBelief</a>().getStamp(), <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aaa97540563b646b33db1263fa3a97d53.html#aaa97540563b646b33db1263fa3a97d53">getTime</a>()));</div>
<div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160;        }</div>
<div class="line"><a name="l00334"></a><span class="lineno">  334</span>&#160;        <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence.html">Sentence</a> newSentence = <span class="keyword">new</span> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence.html">Sentence</a>(newContent, punctuation, newTruth, <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a09af34150e8562d5c93170388c8804b7.html#a09af34150e8562d5c93170388c8804b7">getNewStamp</a>(), taskSentence.<a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_ae57a195c3623dc9b8245d977adc94b4d.html#ae57a195c3623dc9b8245d977adc94b4d">getRevisible</a>());</div>
<div class="line"><a name="l00335"></a><span class="lineno">  335</span>&#160;        <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task.html">Task</a> newTask = <span class="keyword">new</span> <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task.html">Task</a>(newSentence, newBudget, <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a26eda4f00b333b706b4e3d069fdf1508.html#a26eda4f00b333b706b4e3d069fdf1508">getCurrentTask</a>(), null);</div>
<div class="line"><a name="l00336"></a><span class="lineno">  336</span>&#160;        <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_af46c161061654d05bfe6c5db768ef2ef.html#af46c161061654d05bfe6c5db768ef2ef">derivedTask</a>(newTask);</div>
<div class="line"><a name="l00337"></a><span class="lineno">  337</span>&#160;    }</div>
<div class="line"><a name="l00338"></a><span class="lineno">  338</span>&#160;</div>
<div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;    <span class="comment">/* ---------- system working workCycle ---------- */</span></div>
<div class="line"><a name="l00346"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a49e2cbc8b78d535f4d69739886ee966a.html#a49e2cbc8b78d535f4d69739886ee966a">  346</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a49e2cbc8b78d535f4d69739886ee966a.html#a49e2cbc8b78d535f4d69739886ee966a">workCycle</a>(<span class="keywordtype">long</span> clock) {</div>
<div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;        <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aa4c7e1f5823d0404c0cab49b617968f1.html#aa4c7e1f5823d0404c0cab49b617968f1">getRecorder</a>().<a class="code" href="../../db/d34/interfacenars_1_1io_1_1IInferenceRecorder_acb473be6e5d774c10781bc8e74453459.html#acb473be6e5d774c10781bc8e74453459">append</a>(<span class="stringliteral">&quot; --- &quot;</span> + clock + <span class="stringliteral">&quot; ---\n&quot;</span>);</div>
<div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160;        <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a105e44a3504921cc1036eb979b85d9f0.html#a105e44a3504921cc1036eb979b85d9f0">processNewTask</a>();</div>
<div class="line"><a name="l00349"></a><span class="lineno">  349</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a871fc44819f07232afb4573ad704dee0.html#a871fc44819f07232afb4573ad704dee0">noResult</a>()) {       <span class="comment">// necessary?</span></div>
<div class="line"><a name="l00350"></a><span class="lineno">  350</span>&#160;            <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_afe3b4d1bb5fab652ceca53c04773af73.html#afe3b4d1bb5fab652ceca53c04773af73">processNovelTask</a>();</div>
<div class="line"><a name="l00351"></a><span class="lineno">  351</span>&#160;        }</div>
<div class="line"><a name="l00352"></a><span class="lineno">  352</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a871fc44819f07232afb4573ad704dee0.html#a871fc44819f07232afb4573ad704dee0">noResult</a>()) {       <span class="comment">// necessary?</span></div>
<div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;            <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a83154b55b922c82b73931d4f22e3a590.html#a83154b55b922c82b73931d4f22e3a590">processConcept</a>();</div>
<div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;        }</div>
<div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;        <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aa15a4cd104018dc9b98ceaa12d54255d.html#aa15a4cd104018dc9b98ceaa12d54255d">getNovelTasks</a>().<a class="code" href="../../d9/d37/classnars_1_1storage_1_1Bag_a61e1d32c91214e604ad392549bea1e7a.html#a61e1d32c91214e604ad392549bea1e7a">refresh</a>();</div>
<div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;    }</div>
<div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;</div>
<div class="line"><a name="l00363"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a105e44a3504921cc1036eb979b85d9f0.html#a105e44a3504921cc1036eb979b85d9f0">  363</a></span>&#160;    <span class="keyword">private</span> <span class="keywordtype">void</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a105e44a3504921cc1036eb979b85d9f0.html#a105e44a3504921cc1036eb979b85d9f0">processNewTask</a>() {</div>
<div class="line"><a name="l00364"></a><span class="lineno">  364</span>&#160;        <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task.html">Task</a> task;</div>
<div class="line"><a name="l00365"></a><span class="lineno">  365</span>&#160;        <span class="keywordtype">int</span> counter = <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a8c50bdf4f2750032f24965e12e9fb59c.html#a8c50bdf4f2750032f24965e12e9fb59c">getNewTasks</a>().size();  <span class="comment">// don&#39;t include new tasks produced in the current workCycle</span></div>
<div class="line"><a name="l00366"></a><span class="lineno">  366</span>&#160;        <span class="keywordflow">while</span> (counter-- &gt; 0) {</div>
<div class="line"><a name="l00367"></a><span class="lineno">  367</span>&#160;            task = <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a8c50bdf4f2750032f24965e12e9fb59c.html#a8c50bdf4f2750032f24965e12e9fb59c">getNewTasks</a>().remove(0);</div>
<div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;            <span class="keywordflow">if</span> (task.<a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_a0dfdf9a597e57b5cf70d88f954ac7a3f.html#a0dfdf9a597e57b5cf70d88f954ac7a3f">isInput</a>() || (<a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a19d1a5ec8277f907caaef4ecfcab2f28.html#a19d1a5ec8277f907caaef4ecfcab2f28">termToConcept</a>(task.<a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_a091f9ec3bdacfd6741f767cb62b14c0f.html#a091f9ec3bdacfd6741f767cb62b14c0f">getContent</a>()) != null)) { <span class="comment">// new input or existing concept</span></div>
<div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;                <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a175200c1f4c182222d0e66439b6e53a0.html#a175200c1f4c182222d0e66439b6e53a0">immediateProcess</a>(task);</div>
<div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;            } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;                <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence.html">Sentence</a> s = task.<a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_ab140cb553a6cf40b07093d1df283567f.html#ab140cb553a6cf40b07093d1df283567f">getSentence</a>();</div>
<div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;                <span class="keywordflow">if</span> (s.<a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a7d95d60caaf4c895559182a7eb2ff71e.html#a7d95d60caaf4c895559182a7eb2ff71e">isJudgment</a>()) {</div>
<div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;                    <span class="keywordtype">double</span> d = s.<a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_a9f69b4fef64c81abad21404946cd41f9.html#a9f69b4fef64c81abad21404946cd41f9">getTruth</a>().<a class="code" href="../../d3/db8/classnars_1_1entity_1_1TruthValue_aa5ffcde3ae611b087ba7fdd4cd67b216.html#aa5ffcde3ae611b087ba7fdd4cd67b216">getExpectation</a>();</div>
<div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;                    <span class="keywordflow">if</span> (d &gt; <a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters.html">Parameters</a>.<a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a6104cc62b1c0487b31898a8600771fb1.html#a6104cc62b1c0487b31898a8600771fb1">DEFAULT_CREATION_EXPECTATION</a>) {</div>
<div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160;                        <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aa15a4cd104018dc9b98ceaa12d54255d.html#aa15a4cd104018dc9b98ceaa12d54255d">getNovelTasks</a>().<a class="code" href="../../d9/d37/classnars_1_1storage_1_1Bag_a9d42fa45681a07796750a350e08d095b.html#a9d42fa45681a07796750a350e08d095b">putIn</a>(task);    <span class="comment">// new concept formation</span></div>
<div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;                    } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;                        <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aa4c7e1f5823d0404c0cab49b617968f1.html#aa4c7e1f5823d0404c0cab49b617968f1">getRecorder</a>().<a class="code" href="../../db/d34/interfacenars_1_1io_1_1IInferenceRecorder_acb473be6e5d774c10781bc8e74453459.html#acb473be6e5d774c10781bc8e74453459">append</a>(<span class="stringliteral">&quot;!!! Neglected: &quot;</span> + task + <span class="stringliteral">&quot;\n&quot;</span>);</div>
<div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;                    }</div>
<div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160;                }</div>
<div class="line"><a name="l00380"></a><span class="lineno">  380</span>&#160;            }</div>
<div class="line"><a name="l00381"></a><span class="lineno">  381</span>&#160;        }</div>
<div class="line"><a name="l00382"></a><span class="lineno">  382</span>&#160;    }</div>
<div class="line"><a name="l00383"></a><span class="lineno">  383</span>&#160;</div>
<div class="line"><a name="l00387"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_afe3b4d1bb5fab652ceca53c04773af73.html#afe3b4d1bb5fab652ceca53c04773af73">  387</a></span>&#160;    <span class="keyword">private</span> <span class="keywordtype">void</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_afe3b4d1bb5fab652ceca53c04773af73.html#afe3b4d1bb5fab652ceca53c04773af73">processNovelTask</a>() {</div>
<div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;        <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task.html">Task</a> task = <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aa15a4cd104018dc9b98ceaa12d54255d.html#aa15a4cd104018dc9b98ceaa12d54255d">getNovelTasks</a>().<a class="code" href="../../d9/d37/classnars_1_1storage_1_1Bag_a775c0537431b865015facac73e698891.html#a775c0537431b865015facac73e698891">takeOut</a>();       <span class="comment">// select a task from novelTasks</span></div>
<div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;        <span class="keywordflow">if</span> (task != null) {</div>
<div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;            <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a175200c1f4c182222d0e66439b6e53a0.html#a175200c1f4c182222d0e66439b6e53a0">immediateProcess</a>(task);</div>
<div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;        }</div>
<div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;    }</div>
<div class="line"><a name="l00393"></a><span class="lineno">  393</span>&#160;</div>
<div class="line"><a name="l00397"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a83154b55b922c82b73931d4f22e3a590.html#a83154b55b922c82b73931d4f22e3a590">  397</a></span>&#160;    <span class="keyword">private</span> <span class="keywordtype">void</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a83154b55b922c82b73931d4f22e3a590.html#a83154b55b922c82b73931d4f22e3a590">processConcept</a>() {</div>
<div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;        <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a35bd424fe988c2d2ac364e9f57d27858.html#a35bd424fe988c2d2ac364e9f57d27858">setCurrentConcept</a>(<a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a33af7b3d806d32c85390563fec3c6d27.html#a33af7b3d806d32c85390563fec3c6d27">getConcepts</a>().takeOut());</div>
<div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_afdfd74e7953d29059b2cc89b015ca8ec.html#afdfd74e7953d29059b2cc89b015ca8ec">getCurrentConcept</a>() != null) {</div>
<div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;            <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_ae810a2e5d300b64d6aec58e1393a12cc.html#ae810a2e5d300b64d6aec58e1393a12cc">setCurrentTerm</a>(<a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_afdfd74e7953d29059b2cc89b015ca8ec.html#afdfd74e7953d29059b2cc89b015ca8ec">getCurrentConcept</a>().getTerm());</div>
<div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;            <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aa4c7e1f5823d0404c0cab49b617968f1.html#aa4c7e1f5823d0404c0cab49b617968f1">getRecorder</a>().<a class="code" href="../../db/d34/interfacenars_1_1io_1_1IInferenceRecorder_acb473be6e5d774c10781bc8e74453459.html#acb473be6e5d774c10781bc8e74453459">append</a>(<span class="stringliteral">&quot; * Selected Concept: &quot;</span> + <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a8e0d3146c07a1cc961d3ebc63317412d.html#a8e0d3146c07a1cc961d3ebc63317412d">getCurrentTerm</a>() + <span class="stringliteral">&quot;\n&quot;</span>);</div>
<div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160;            <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a33af7b3d806d32c85390563fec3c6d27.html#a33af7b3d806d32c85390563fec3c6d27">getConcepts</a>().<a class="code" href="../../d9/d37/classnars_1_1storage_1_1Bag_a64b0b75c54e6882a28702d7810094656.html#a64b0b75c54e6882a28702d7810094656">putBack</a>(<a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_afdfd74e7953d29059b2cc89b015ca8ec.html#afdfd74e7953d29059b2cc89b015ca8ec">getCurrentConcept</a>());   <span class="comment">// current Concept remains in the bag all the time</span></div>
<div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160;            <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_afdfd74e7953d29059b2cc89b015ca8ec.html#afdfd74e7953d29059b2cc89b015ca8ec">getCurrentConcept</a>().<a class="code" href="../../d4/d22/classnars_1_1entity_1_1Concept_ae07576c8466ad65eeb61040e3f71cfc7.html#ae07576c8466ad65eeb61040e3f71cfc7">fire</a>();              <span class="comment">// a working workCycle</span></div>
<div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;        }</div>
<div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160;    }</div>
<div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;</div>
<div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;    <span class="comment">/* ---------- task processing ---------- */</span></div>
<div class="line"><a name="l00414"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a175200c1f4c182222d0e66439b6e53a0.html#a175200c1f4c182222d0e66439b6e53a0">  414</a></span>&#160;    <span class="keyword">private</span> <span class="keywordtype">void</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a175200c1f4c182222d0e66439b6e53a0.html#a175200c1f4c182222d0e66439b6e53a0">immediateProcess</a>(<a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task.html">Task</a> task) {</div>
<div class="line"><a name="l00415"></a><span class="lineno">  415</span>&#160;        <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a5daaf2cedc2672912d0727173eb2d935.html#a5daaf2cedc2672912d0727173eb2d935">setCurrentTask</a>(task); <span class="comment">// one of the two places where this variable is set</span></div>
<div class="line"><a name="l00416"></a><span class="lineno">  416</span>&#160;        <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aa4c7e1f5823d0404c0cab49b617968f1.html#aa4c7e1f5823d0404c0cab49b617968f1">getRecorder</a>().<a class="code" href="../../db/d34/interfacenars_1_1io_1_1IInferenceRecorder_acb473be6e5d774c10781bc8e74453459.html#acb473be6e5d774c10781bc8e74453459">append</a>(<span class="stringliteral">&quot;!!! Insert: &quot;</span> + task + <span class="stringliteral">&quot;\n&quot;</span>);</div>
<div class="line"><a name="l00417"></a><span class="lineno">  417</span>&#160;        <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_ae810a2e5d300b64d6aec58e1393a12cc.html#ae810a2e5d300b64d6aec58e1393a12cc">setCurrentTerm</a>(task.<a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task_a091f9ec3bdacfd6741f767cb62b14c0f.html#a091f9ec3bdacfd6741f767cb62b14c0f">getContent</a>());</div>
<div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;        <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a35bd424fe988c2d2ac364e9f57d27858.html#a35bd424fe988c2d2ac364e9f57d27858">setCurrentConcept</a>(<a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a3f45cdc40973611106276cfbc27a7a7a.html#a3f45cdc40973611106276cfbc27a7a7a">getConcept</a>(<a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a8e0d3146c07a1cc961d3ebc63317412d.html#a8e0d3146c07a1cc961d3ebc63317412d">getCurrentTerm</a>()));</div>
<div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_afdfd74e7953d29059b2cc89b015ca8ec.html#afdfd74e7953d29059b2cc89b015ca8ec">getCurrentConcept</a>() != null) {</div>
<div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;            <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_afdfd74e7953d29059b2cc89b015ca8ec.html#afdfd74e7953d29059b2cc89b015ca8ec">getCurrentConcept</a>().<a class="code" href="../../d4/d22/classnars_1_1entity_1_1Concept_a9ea7c3154932d7a736c105eb55daeb5c.html#a9ea7c3154932d7a736c105eb55daeb5c">directProcess</a>(task);</div>
<div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;        }</div>
<div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;    }</div>
<div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;</div>
<div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;    <span class="comment">/* ---------- display ---------- */</span></div>
<div class="line"><a name="l00437"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a46268d511b467d42cd9ff1b2696ebbd7.html#a46268d511b467d42cd9ff1b2696ebbd7">  437</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a46268d511b467d42cd9ff1b2696ebbd7.html#a46268d511b467d42cd9ff1b2696ebbd7">conceptsStartPlay</a>(<a class="code" href="../../df/d32/interfacenars_1_1storage_1_1BagObserver.html">BagObserver</a> bagObserver, String s) {</div>
<div class="line"><a name="l00438"></a><span class="lineno">  438</span>&#160;        bagObserver.<a class="code" href="../../df/d32/interfacenars_1_1storage_1_1BagObserver_ae0455b8e5d7053bd0a868d1c45616bfd.html#ae0455b8e5d7053bd0a868d1c45616bfd">setBag</a>(<a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a33af7b3d806d32c85390563fec3c6d27.html#a33af7b3d806d32c85390563fec3c6d27">getConcepts</a>());</div>
<div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160;        <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a33af7b3d806d32c85390563fec3c6d27.html#a33af7b3d806d32c85390563fec3c6d27">getConcepts</a>().<a class="code" href="../../d9/d37/classnars_1_1storage_1_1Bag_a73a559e1b77e6bc3a7db686816accef2.html#a73a559e1b77e6bc3a7db686816accef2">addBagObserver</a>(bagObserver, s);</div>
<div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160;    }</div>
<div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;</div>
<div class="line"><a name="l00449"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a8a2bb1cc322626bc711f1233e4fd281b.html#a8a2bb1cc322626bc711f1233e4fd281b">  449</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a8a2bb1cc322626bc711f1233e4fd281b.html#a8a2bb1cc322626bc711f1233e4fd281b">taskBuffersStartPlay</a>(<a class="code" href="../../df/d32/interfacenars_1_1storage_1_1BagObserver.html">BagObserver</a> bagObserver, String s) {</div>
<div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;        bagObserver.<a class="code" href="../../df/d32/interfacenars_1_1storage_1_1BagObserver_ae0455b8e5d7053bd0a868d1c45616bfd.html#ae0455b8e5d7053bd0a868d1c45616bfd">setBag</a>(<a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aa15a4cd104018dc9b98ceaa12d54255d.html#aa15a4cd104018dc9b98ceaa12d54255d">getNovelTasks</a>());</div>
<div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160;        <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aa15a4cd104018dc9b98ceaa12d54255d.html#aa15a4cd104018dc9b98ceaa12d54255d">getNovelTasks</a>().<a class="code" href="../../d9/d37/classnars_1_1storage_1_1Bag_a73a559e1b77e6bc3a7db686816accef2.html#a73a559e1b77e6bc3a7db686816accef2">addBagObserver</a>(bagObserver, s);</div>
<div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160;    }</div>
<div class="line"><a name="l00453"></a><span class="lineno">  453</span>&#160;</div>
<div class="line"><a name="l00464"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a26cbb4acec5bb2c23a048d7deba4051d.html#a26cbb4acec5bb2c23a048d7deba4051d">  464</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a26cbb4acec5bb2c23a048d7deba4051d.html#a26cbb4acec5bb2c23a048d7deba4051d">report</a>(<a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence.html">Sentence</a> sentence, <span class="keywordtype">boolean</span> input) {</div>
<div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch.html">ReasonerBatch</a>.<a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a9652b5277f36d45b4c29da8f51a7f7e9.html#a9652b5277f36d45b4c29da8f51a7f7e9">DEBUG</a>) {</div>
<div class="line"><a name="l00466"></a><span class="lineno">  466</span>&#160;            System.out.println(<span class="stringliteral">&quot;// report( clock &quot;</span> + <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a076ad9a0e872386bca3f2d17fa7cb2d4.html#a076ad9a0e872386bca3f2d17fa7cb2d4">getReasoner</a>().<a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aaa97540563b646b33db1263fa3a97d53.html#aaa97540563b646b33db1263fa3a97d53">getTime</a>()</div>
<div class="line"><a name="l00467"></a><span class="lineno">  467</span>&#160;                    + <span class="stringliteral">&quot;, input &quot;</span> + input</div>
<div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160;                    + <span class="stringliteral">&quot;, timer &quot;</span> + <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a076ad9a0e872386bca3f2d17fa7cb2d4.html#a076ad9a0e872386bca3f2d17fa7cb2d4">getReasoner</a>().getTimer()</div>
<div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160;                    + <span class="stringliteral">&quot;, Sentence &quot;</span> + sentence</div>
<div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;                    + <span class="stringliteral">&quot;, exportStrings &quot;</span> + <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a1a17565c7b06ca4ecc1ed57c3fce973f.html#a1a17565c7b06ca4ecc1ed57c3fce973f">getExportStrings</a>());</div>
<div class="line"><a name="l00471"></a><span class="lineno">  471</span>&#160;            System.out.flush();</div>
<div class="line"><a name="l00472"></a><span class="lineno">  472</span>&#160;        }</div>
<div class="line"><a name="l00473"></a><span class="lineno">  473</span>&#160;        <span class="keywordflow">if</span> (<a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a1a17565c7b06ca4ecc1ed57c3fce973f.html#a1a17565c7b06ca4ecc1ed57c3fce973f">getExportStrings</a>().isEmpty()) {</div>
<div class="line"><a name="l00474"></a><span class="lineno">  474</span>&#160;<span class="comment">//          long timer = reasoner.getMainWindow().updateTimer();</span></div>
<div class="line"><a name="l00475"></a><span class="lineno">  475</span>&#160;            <span class="keywordtype">long</span> timer = <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a076ad9a0e872386bca3f2d17fa7cb2d4.html#a076ad9a0e872386bca3f2d17fa7cb2d4">getReasoner</a>().<a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_ad567a9256ef8674e839ed6fe62664987.html#ad567a9256ef8674e839ed6fe62664987">updateTimer</a>();</div>
<div class="line"><a name="l00476"></a><span class="lineno">  476</span>&#160;            <span class="keywordflow">if</span> (timer &gt; 0) {</div>
<div class="line"><a name="l00477"></a><span class="lineno">  477</span>&#160;                <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a1a17565c7b06ca4ecc1ed57c3fce973f.html#a1a17565c7b06ca4ecc1ed57c3fce973f">getExportStrings</a>().add(String.valueOf(timer));</div>
<div class="line"><a name="l00478"></a><span class="lineno">  478</span>&#160;            }</div>
<div class="line"><a name="l00479"></a><span class="lineno">  479</span>&#160;        }</div>
<div class="line"><a name="l00480"></a><span class="lineno">  480</span>&#160;</div>
<div class="line"><a name="l00481"></a><span class="lineno">  481</span>&#160;        String s;</div>
<div class="line"><a name="l00482"></a><span class="lineno">  482</span>&#160;        <span class="keywordflow">if</span> (input) {</div>
<div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160;            s = <span class="stringliteral">&quot;  IN: &quot;</span>;</div>
<div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160;        } <span class="keywordflow">else</span> {</div>
<div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160;            s = <span class="stringliteral">&quot; OUT: &quot;</span>;</div>
<div class="line"><a name="l00486"></a><span class="lineno">  486</span>&#160;        }</div>
<div class="line"><a name="l00487"></a><span class="lineno">  487</span>&#160;        s += sentence.<a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence_aed4fff67fb986a938db98460a16dda2d.html#aed4fff67fb986a938db98460a16dda2d">toStringBrief</a>();</div>
<div class="line"><a name="l00488"></a><span class="lineno">  488</span>&#160;        <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a1a17565c7b06ca4ecc1ed57c3fce973f.html#a1a17565c7b06ca4ecc1ed57c3fce973f">getExportStrings</a>().add(s);</div>
<div class="line"><a name="l00489"></a><span class="lineno">  489</span>&#160;    }</div>
<div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160;</div>
<div class="line"><a name="l00491"></a><span class="lineno">  491</span>&#160;    @Override</div>
<div class="line"><a name="l00492"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a1233dbd1131192889bae177fc57f4113.html#a1233dbd1131192889bae177fc57f4113">  492</a></span>&#160;    <span class="keyword">public</span> String <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a1233dbd1131192889bae177fc57f4113.html#a1233dbd1131192889bae177fc57f4113">toString</a>() {</div>
<div class="line"><a name="l00493"></a><span class="lineno">  493</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_ac64adce71654729811395e76e0217856.html#ac64adce71654729811395e76e0217856">toStringLongIfNotNull</a>(<a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a33af7b3d806d32c85390563fec3c6d27.html#a33af7b3d806d32c85390563fec3c6d27">getConcepts</a>(), <span class="stringliteral">&quot;concepts&quot;</span>)</div>
<div class="line"><a name="l00494"></a><span class="lineno">  494</span>&#160;                + <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_ac64adce71654729811395e76e0217856.html#ac64adce71654729811395e76e0217856">toStringLongIfNotNull</a>(<a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aa15a4cd104018dc9b98ceaa12d54255d.html#aa15a4cd104018dc9b98ceaa12d54255d">getNovelTasks</a>(), <span class="stringliteral">&quot;novelTasks&quot;</span>)</div>
<div class="line"><a name="l00495"></a><span class="lineno">  495</span>&#160;                + <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a4017bddb252ecdfc193a7465f2d0b8b7.html#a4017bddb252ecdfc193a7465f2d0b8b7">toStringIfNotNull</a>(<a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a8c50bdf4f2750032f24965e12e9fb59c.html#a8c50bdf4f2750032f24965e12e9fb59c">getNewTasks</a>(), <span class="stringliteral">&quot;newTasks&quot;</span>)</div>
<div class="line"><a name="l00496"></a><span class="lineno">  496</span>&#160;                + <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_ac64adce71654729811395e76e0217856.html#ac64adce71654729811395e76e0217856">toStringLongIfNotNull</a>(<a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a26eda4f00b333b706b4e3d069fdf1508.html#a26eda4f00b333b706b4e3d069fdf1508">getCurrentTask</a>(), <span class="stringliteral">&quot;currentTask&quot;</span>)</div>
<div class="line"><a name="l00497"></a><span class="lineno">  497</span>&#160;                + <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_ac64adce71654729811395e76e0217856.html#ac64adce71654729811395e76e0217856">toStringLongIfNotNull</a>(<a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_afb74806ef37665d392a86dce2e3c6546.html#afb74806ef37665d392a86dce2e3c6546">getCurrentBeliefLink</a>(), <span class="stringliteral">&quot;currentBeliefLink&quot;</span>)</div>
<div class="line"><a name="l00498"></a><span class="lineno">  498</span>&#160;                + <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a4017bddb252ecdfc193a7465f2d0b8b7.html#a4017bddb252ecdfc193a7465f2d0b8b7">toStringIfNotNull</a>(<a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aae366ea198c2340fef786120d5c2163b.html#aae366ea198c2340fef786120d5c2163b">getCurrentBelief</a>(), <span class="stringliteral">&quot;currentBelief&quot;</span>);</div>
<div class="line"><a name="l00499"></a><span class="lineno">  499</span>&#160;    }</div>
<div class="line"><a name="l00500"></a><span class="lineno">  500</span>&#160;</div>
<div class="line"><a name="l00501"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_ac64adce71654729811395e76e0217856.html#ac64adce71654729811395e76e0217856">  501</a></span>&#160;    <span class="keyword">private</span> String <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_ac64adce71654729811395e76e0217856.html#ac64adce71654729811395e76e0217856">toStringLongIfNotNull</a>(<a class="code" href="../../d9/d37/classnars_1_1storage_1_1Bag.html">Bag&lt;?&gt;</a> item, String title) {</div>
<div class="line"><a name="l00502"></a><span class="lineno">  502</span>&#160;        <span class="keywordflow">return</span> item == null ? <span class="stringliteral">&quot;&quot;</span> : <span class="stringliteral">&quot;\n &quot;</span> + title + <span class="stringliteral">&quot;:\n&quot;</span></div>
<div class="line"><a name="l00503"></a><span class="lineno">  503</span>&#160;                + item.<a class="code" href="../../d9/d37/classnars_1_1storage_1_1Bag_adff1bdb7ded17b66dc84068e49571ba7.html#adff1bdb7ded17b66dc84068e49571ba7">toStringLong</a>();</div>
<div class="line"><a name="l00504"></a><span class="lineno">  504</span>&#160;    }</div>
<div class="line"><a name="l00505"></a><span class="lineno">  505</span>&#160;</div>
<div class="line"><a name="l00506"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_ac887d547c5ab3eff63f44a07bb9ff339.html#ac887d547c5ab3eff63f44a07bb9ff339">  506</a></span>&#160;    <span class="keyword">private</span> String <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_ac887d547c5ab3eff63f44a07bb9ff339.html#ac887d547c5ab3eff63f44a07bb9ff339">toStringLongIfNotNull</a>(<a class="code" href="../../d1/dd1/classnars_1_1entity_1_1Item.html">Item</a> item, String title) {</div>
<div class="line"><a name="l00507"></a><span class="lineno">  507</span>&#160;        <span class="keywordflow">return</span> item == null ? <span class="stringliteral">&quot;&quot;</span> : <span class="stringliteral">&quot;\n &quot;</span> + title + <span class="stringliteral">&quot;:\n&quot;</span></div>
<div class="line"><a name="l00508"></a><span class="lineno">  508</span>&#160;                + item.<a class="code" href="../../d1/dd1/classnars_1_1entity_1_1Item_af06f82dd62f5ddf754886b15e1d76dbc.html#af06f82dd62f5ddf754886b15e1d76dbc">toStringLong</a>();</div>
<div class="line"><a name="l00509"></a><span class="lineno">  509</span>&#160;    }</div>
<div class="line"><a name="l00510"></a><span class="lineno">  510</span>&#160;</div>
<div class="line"><a name="l00511"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a4017bddb252ecdfc193a7465f2d0b8b7.html#a4017bddb252ecdfc193a7465f2d0b8b7">  511</a></span>&#160;    <span class="keyword">private</span> String <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a4017bddb252ecdfc193a7465f2d0b8b7.html#a4017bddb252ecdfc193a7465f2d0b8b7">toStringIfNotNull</a>(Object item, String title) {</div>
<div class="line"><a name="l00512"></a><span class="lineno">  512</span>&#160;        <span class="keywordflow">return</span> item == null ? <span class="stringliteral">&quot;&quot;</span> : <span class="stringliteral">&quot;\n &quot;</span> + title + <span class="stringliteral">&quot;:\n&quot;</span></div>
<div class="line"><a name="l00513"></a><span class="lineno">  513</span>&#160;                + item.toString();</div>
<div class="line"><a name="l00514"></a><span class="lineno">  514</span>&#160;    }</div>
<div class="line"><a name="l00515"></a><span class="lineno">  515</span>&#160;</div>
<div class="line"><a name="l00516"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a7af29c523c107978525ac7be038d4130.html#a7af29c523c107978525ac7be038d4130">  516</a></span>&#160;    <span class="keyword">public</span> AtomicInteger <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a7af29c523c107978525ac7be038d4130.html#a7af29c523c107978525ac7be038d4130">getTaskForgettingRate</a>() {</div>
<div class="line"><a name="l00517"></a><span class="lineno">  517</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_ad53ca952609ef865a8559e4a268a69dc.html#ad53ca952609ef865a8559e4a268a69dc">taskForgettingRate</a>;</div>
<div class="line"><a name="l00518"></a><span class="lineno">  518</span>&#160;    }</div>
<div class="line"><a name="l00519"></a><span class="lineno">  519</span>&#160;</div>
<div class="line"><a name="l00520"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_af690db9813be4c0dafac14c1ca9d79e1.html#af690db9813be4c0dafac14c1ca9d79e1">  520</a></span>&#160;    <span class="keyword">public</span> AtomicInteger <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_af690db9813be4c0dafac14c1ca9d79e1.html#af690db9813be4c0dafac14c1ca9d79e1">getBeliefForgettingRate</a>() {</div>
<div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a6452df8d65ea0ab8ab26d76bccd3eb80.html#a6452df8d65ea0ab8ab26d76bccd3eb80">beliefForgettingRate</a>;</div>
<div class="line"><a name="l00522"></a><span class="lineno">  522</span>&#160;    }</div>
<div class="line"><a name="l00523"></a><span class="lineno">  523</span>&#160;</div>
<div class="line"><a name="l00524"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a4a815fb8bc68d8a09c0fe50984372459.html#a4a815fb8bc68d8a09c0fe50984372459">  524</a></span>&#160;    <span class="keyword">public</span> AtomicInteger <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a4a815fb8bc68d8a09c0fe50984372459.html#a4a815fb8bc68d8a09c0fe50984372459">getConceptForgettingRate</a>() {</div>
<div class="line"><a name="l00525"></a><span class="lineno">  525</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aab8a6a5767c266a7e4e8c57d92b99871.html#aab8a6a5767c266a7e4e8c57d92b99871">conceptForgettingRate</a>;</div>
<div class="line"><a name="l00526"></a><span class="lineno">  526</span>&#160;    }</div>
<div class="line"><a name="l00527"></a><span class="lineno">  527</span>&#160;</div>
<div class="line"><a name="l00531"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a076ad9a0e872386bca3f2d17fa7cb2d4.html#a076ad9a0e872386bca3f2d17fa7cb2d4">  531</a></span>&#160;    <span class="keyword">public</span> <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch.html">ReasonerBatch</a> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a076ad9a0e872386bca3f2d17fa7cb2d4.html#a076ad9a0e872386bca3f2d17fa7cb2d4">getReasoner</a>() {</div>
<div class="line"><a name="l00532"></a><span class="lineno">  532</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a481aa9117eaaf8fb057ff76f16481cb6.html#a481aa9117eaaf8fb057ff76f16481cb6">reasoner</a>;</div>
<div class="line"><a name="l00533"></a><span class="lineno">  533</span>&#160;    }</div>
<div class="line"><a name="l00534"></a><span class="lineno">  534</span>&#160;</div>
<div class="line"><a name="l00535"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_ab98ad1b36aa77d470f4b6b7df29f1fd8.html#ab98ad1b36aa77d470f4b6b7df29f1fd8">  535</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_ab98ad1b36aa77d470f4b6b7df29f1fd8.html#ab98ad1b36aa77d470f4b6b7df29f1fd8">setReasoner</a>(<a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch.html">ReasonerBatch</a> reasoner) {</div>
<div class="line"><a name="l00536"></a><span class="lineno">  536</span>&#160;        this.reasoner = <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a481aa9117eaaf8fb057ff76f16481cb6.html#a481aa9117eaaf8fb057ff76f16481cb6">reasoner</a>;</div>
<div class="line"><a name="l00537"></a><span class="lineno">  537</span>&#160;    }</div>
<div class="line"><a name="l00538"></a><span class="lineno">  538</span>&#160;</div>
<div class="line"><a name="l00542"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a33af7b3d806d32c85390563fec3c6d27.html#a33af7b3d806d32c85390563fec3c6d27">  542</a></span>&#160;    <span class="keyword">public</span> <a class="code" href="../../dc/dbe/classnars_1_1storage_1_1ConceptBag.html">ConceptBag</a> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a33af7b3d806d32c85390563fec3c6d27.html#a33af7b3d806d32c85390563fec3c6d27">getConcepts</a>() {</div>
<div class="line"><a name="l00543"></a><span class="lineno">  543</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aa2c5cb7f47cab7037c7a792ec5656f0c.html#aa2c5cb7f47cab7037c7a792ec5656f0c">concepts</a>;</div>
<div class="line"><a name="l00544"></a><span class="lineno">  544</span>&#160;    }</div>
<div class="line"><a name="l00545"></a><span class="lineno">  545</span>&#160;</div>
<div class="line"><a name="l00546"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_ab35f24f2e05fb428d36d7e86b5009cb2.html#ab35f24f2e05fb428d36d7e86b5009cb2">  546</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_ab35f24f2e05fb428d36d7e86b5009cb2.html#ab35f24f2e05fb428d36d7e86b5009cb2">setConcepts</a>(<a class="code" href="../../dc/dbe/classnars_1_1storage_1_1ConceptBag.html">ConceptBag</a> concepts) {</div>
<div class="line"><a name="l00547"></a><span class="lineno">  547</span>&#160;        this.concepts = <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aa2c5cb7f47cab7037c7a792ec5656f0c.html#aa2c5cb7f47cab7037c7a792ec5656f0c">concepts</a>;</div>
<div class="line"><a name="l00548"></a><span class="lineno">  548</span>&#160;    }</div>
<div class="line"><a name="l00549"></a><span class="lineno">  549</span>&#160;</div>
<div class="line"><a name="l00553"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_aa15a4cd104018dc9b98ceaa12d54255d.html#aa15a4cd104018dc9b98ceaa12d54255d">  553</a></span>&#160;    <span class="keyword">public</span> <a class="code" href="../../d1/df2/classnars_1_1storage_1_1NovelTaskBag.html">NovelTaskBag</a> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aa15a4cd104018dc9b98ceaa12d54255d.html#aa15a4cd104018dc9b98ceaa12d54255d">getNovelTasks</a>() {</div>
<div class="line"><a name="l00554"></a><span class="lineno">  554</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a122409cb4dd642e850d6f1e37fa0a93d.html#a122409cb4dd642e850d6f1e37fa0a93d">novelTasks</a>;</div>
<div class="line"><a name="l00555"></a><span class="lineno">  555</span>&#160;    }</div>
<div class="line"><a name="l00556"></a><span class="lineno">  556</span>&#160;</div>
<div class="line"><a name="l00557"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a004fc746c755e9448a36be1bc48bfe30.html#a004fc746c755e9448a36be1bc48bfe30">  557</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a004fc746c755e9448a36be1bc48bfe30.html#a004fc746c755e9448a36be1bc48bfe30">setNovelTasks</a>(<a class="code" href="../../d1/df2/classnars_1_1storage_1_1NovelTaskBag.html">NovelTaskBag</a> novelTasks) {</div>
<div class="line"><a name="l00558"></a><span class="lineno">  558</span>&#160;        this.novelTasks = <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a122409cb4dd642e850d6f1e37fa0a93d.html#a122409cb4dd642e850d6f1e37fa0a93d">novelTasks</a>;</div>
<div class="line"><a name="l00559"></a><span class="lineno">  559</span>&#160;    }</div>
<div class="line"><a name="l00560"></a><span class="lineno">  560</span>&#160;</div>
<div class="line"><a name="l00561"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_ae5e3919d3c8ac28eee470304c678fa29.html#ae5e3919d3c8ac28eee470304c678fa29">  561</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_ae5e3919d3c8ac28eee470304c678fa29.html#ae5e3919d3c8ac28eee470304c678fa29">setBeliefForgettingRate</a>(AtomicInteger beliefForgettingRate) {</div>
<div class="line"><a name="l00562"></a><span class="lineno">  562</span>&#160;        this.beliefForgettingRate = <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a6452df8d65ea0ab8ab26d76bccd3eb80.html#a6452df8d65ea0ab8ab26d76bccd3eb80">beliefForgettingRate</a>;</div>
<div class="line"><a name="l00563"></a><span class="lineno">  563</span>&#160;    }</div>
<div class="line"><a name="l00564"></a><span class="lineno">  564</span>&#160;</div>
<div class="line"><a name="l00565"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_ad7fc55d6398ff225be8be9c089099c53.html#ad7fc55d6398ff225be8be9c089099c53">  565</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_ad7fc55d6398ff225be8be9c089099c53.html#ad7fc55d6398ff225be8be9c089099c53">setTaskForgettingRate</a>(AtomicInteger taskForgettingRate) {</div>
<div class="line"><a name="l00566"></a><span class="lineno">  566</span>&#160;        this.taskForgettingRate = <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_ad53ca952609ef865a8559e4a268a69dc.html#ad53ca952609ef865a8559e4a268a69dc">taskForgettingRate</a>;</div>
<div class="line"><a name="l00567"></a><span class="lineno">  567</span>&#160;    }</div>
<div class="line"><a name="l00568"></a><span class="lineno">  568</span>&#160;</div>
<div class="line"><a name="l00569"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a769d74f14b74ca679c57bd71d18045a3.html#a769d74f14b74ca679c57bd71d18045a3">  569</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a769d74f14b74ca679c57bd71d18045a3.html#a769d74f14b74ca679c57bd71d18045a3">setConceptForgettingRate</a>(AtomicInteger conceptForgettingRate) {</div>
<div class="line"><a name="l00570"></a><span class="lineno">  570</span>&#160;        this.conceptForgettingRate = <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aab8a6a5767c266a7e4e8c57d92b99871.html#aab8a6a5767c266a7e4e8c57d92b99871">conceptForgettingRate</a>;</div>
<div class="line"><a name="l00571"></a><span class="lineno">  571</span>&#160;    }</div>
<div class="line"><a name="l00572"></a><span class="lineno">  572</span>&#160;</div>
<div class="line"><a name="l00577"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a8c50bdf4f2750032f24965e12e9fb59c.html#a8c50bdf4f2750032f24965e12e9fb59c">  577</a></span>&#160;    <span class="keyword">public</span> List&lt;Task&gt; <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a8c50bdf4f2750032f24965e12e9fb59c.html#a8c50bdf4f2750032f24965e12e9fb59c">getNewTasks</a>() {</div>
<div class="line"><a name="l00578"></a><span class="lineno">  578</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a8be39c6e446d0c96920e224a68b403da.html#a8be39c6e446d0c96920e224a68b403da">newTasks</a>;</div>
<div class="line"><a name="l00579"></a><span class="lineno">  579</span>&#160;    }</div>
<div class="line"><a name="l00580"></a><span class="lineno">  580</span>&#160;</div>
<div class="line"><a name="l00581"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_af366ebf6ee22511021272241a397e54d.html#af366ebf6ee22511021272241a397e54d">  581</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_af366ebf6ee22511021272241a397e54d.html#af366ebf6ee22511021272241a397e54d">setNewTasks</a>(List&lt;Task&gt; newTasks) {</div>
<div class="line"><a name="l00582"></a><span class="lineno">  582</span>&#160;        this.newTasks = <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a8be39c6e446d0c96920e224a68b403da.html#a8be39c6e446d0c96920e224a68b403da">newTasks</a>;</div>
<div class="line"><a name="l00583"></a><span class="lineno">  583</span>&#160;    }</div>
<div class="line"><a name="l00584"></a><span class="lineno">  584</span>&#160;</div>
<div class="line"><a name="l00585"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a9f579556cc722fff72241bbca4fcdd08.html#a9f579556cc722fff72241bbca4fcdd08">  585</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a9f579556cc722fff72241bbca4fcdd08.html#a9f579556cc722fff72241bbca4fcdd08">setExportStrings</a>(List&lt;String&gt; exportStrings) {</div>
<div class="line"><a name="l00586"></a><span class="lineno">  586</span>&#160;        this.exportStrings = <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aceb4422169329357b13d43fe8d485636.html#aceb4422169329357b13d43fe8d485636">exportStrings</a>;</div>
<div class="line"><a name="l00587"></a><span class="lineno">  587</span>&#160;    }</div>
<div class="line"><a name="l00588"></a><span class="lineno">  588</span>&#160;</div>
<div class="line"><a name="l00592"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a8e0d3146c07a1cc961d3ebc63317412d.html#a8e0d3146c07a1cc961d3ebc63317412d">  592</a></span>&#160;    <span class="keyword">public</span> <a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a8e0d3146c07a1cc961d3ebc63317412d.html#a8e0d3146c07a1cc961d3ebc63317412d">getCurrentTerm</a>() {</div>
<div class="line"><a name="l00593"></a><span class="lineno">  593</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aba463345b3a16b90d8c98c7eeb9c8263.html#aba463345b3a16b90d8c98c7eeb9c8263">currentTerm</a>;</div>
<div class="line"><a name="l00594"></a><span class="lineno">  594</span>&#160;    }</div>
<div class="line"><a name="l00595"></a><span class="lineno">  595</span>&#160;</div>
<div class="line"><a name="l00596"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_ae810a2e5d300b64d6aec58e1393a12cc.html#ae810a2e5d300b64d6aec58e1393a12cc">  596</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_ae810a2e5d300b64d6aec58e1393a12cc.html#ae810a2e5d300b64d6aec58e1393a12cc">setCurrentTerm</a>(<a class="code" href="../../d8/db8/classnars_1_1language_1_1Term.html">Term</a> currentTerm) {</div>
<div class="line"><a name="l00597"></a><span class="lineno">  597</span>&#160;        this.currentTerm = <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aba463345b3a16b90d8c98c7eeb9c8263.html#aba463345b3a16b90d8c98c7eeb9c8263">currentTerm</a>;</div>
<div class="line"><a name="l00598"></a><span class="lineno">  598</span>&#160;    }</div>
<div class="line"><a name="l00599"></a><span class="lineno">  599</span>&#160;</div>
<div class="line"><a name="l00603"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_afdfd74e7953d29059b2cc89b015ca8ec.html#afdfd74e7953d29059b2cc89b015ca8ec">  603</a></span>&#160;    <span class="keyword">public</span> <a class="code" href="../../d4/d22/classnars_1_1entity_1_1Concept.html">Concept</a> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_afdfd74e7953d29059b2cc89b015ca8ec.html#afdfd74e7953d29059b2cc89b015ca8ec">getCurrentConcept</a>() {</div>
<div class="line"><a name="l00604"></a><span class="lineno">  604</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a04e47e2e73b2ba3d204c59443f4b28ca.html#a04e47e2e73b2ba3d204c59443f4b28ca">currentConcept</a>;</div>
<div class="line"><a name="l00605"></a><span class="lineno">  605</span>&#160;    }</div>
<div class="line"><a name="l00606"></a><span class="lineno">  606</span>&#160;</div>
<div class="line"><a name="l00607"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a35bd424fe988c2d2ac364e9f57d27858.html#a35bd424fe988c2d2ac364e9f57d27858">  607</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a35bd424fe988c2d2ac364e9f57d27858.html#a35bd424fe988c2d2ac364e9f57d27858">setCurrentConcept</a>(<a class="code" href="../../d4/d22/classnars_1_1entity_1_1Concept.html">Concept</a> currentConcept) {</div>
<div class="line"><a name="l00608"></a><span class="lineno">  608</span>&#160;        this.currentConcept = <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a04e47e2e73b2ba3d204c59443f4b28ca.html#a04e47e2e73b2ba3d204c59443f4b28ca">currentConcept</a>;</div>
<div class="line"><a name="l00609"></a><span class="lineno">  609</span>&#160;    }</div>
<div class="line"><a name="l00610"></a><span class="lineno">  610</span>&#160;</div>
<div class="line"><a name="l00614"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_ab9958cfc601557bc69b0cd9c89f58cf0.html#ab9958cfc601557bc69b0cd9c89f58cf0">  614</a></span>&#160;    <span class="keyword">public</span> <a class="code" href="../../d9/d27/classnars_1_1entity_1_1TaskLink.html">TaskLink</a> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_ab9958cfc601557bc69b0cd9c89f58cf0.html#ab9958cfc601557bc69b0cd9c89f58cf0">getCurrentTaskLink</a>() {</div>
<div class="line"><a name="l00615"></a><span class="lineno">  615</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_afba2a1153e78a534d4e3eaed5b0fab4b.html#afba2a1153e78a534d4e3eaed5b0fab4b">currentTaskLink</a>;</div>
<div class="line"><a name="l00616"></a><span class="lineno">  616</span>&#160;    }</div>
<div class="line"><a name="l00617"></a><span class="lineno">  617</span>&#160;</div>
<div class="line"><a name="l00618"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a1ececefca4f7e49be44e1d668c83d359.html#a1ececefca4f7e49be44e1d668c83d359">  618</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a1ececefca4f7e49be44e1d668c83d359.html#a1ececefca4f7e49be44e1d668c83d359">setCurrentTaskLink</a>(<a class="code" href="../../d9/d27/classnars_1_1entity_1_1TaskLink.html">TaskLink</a> currentTaskLink) {</div>
<div class="line"><a name="l00619"></a><span class="lineno">  619</span>&#160;        this.currentTaskLink = <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_afba2a1153e78a534d4e3eaed5b0fab4b.html#afba2a1153e78a534d4e3eaed5b0fab4b">currentTaskLink</a>;</div>
<div class="line"><a name="l00620"></a><span class="lineno">  620</span>&#160;    }</div>
<div class="line"><a name="l00621"></a><span class="lineno">  621</span>&#160;</div>
<div class="line"><a name="l00625"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a26eda4f00b333b706b4e3d069fdf1508.html#a26eda4f00b333b706b4e3d069fdf1508">  625</a></span>&#160;    <span class="keyword">public</span> <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task.html">Task</a> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a26eda4f00b333b706b4e3d069fdf1508.html#a26eda4f00b333b706b4e3d069fdf1508">getCurrentTask</a>() {</div>
<div class="line"><a name="l00626"></a><span class="lineno">  626</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a453c463e690a18bf6cba62e3f27c1e72.html#a453c463e690a18bf6cba62e3f27c1e72">currentTask</a>;</div>
<div class="line"><a name="l00627"></a><span class="lineno">  627</span>&#160;    }</div>
<div class="line"><a name="l00628"></a><span class="lineno">  628</span>&#160;</div>
<div class="line"><a name="l00629"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a5daaf2cedc2672912d0727173eb2d935.html#a5daaf2cedc2672912d0727173eb2d935">  629</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a5daaf2cedc2672912d0727173eb2d935.html#a5daaf2cedc2672912d0727173eb2d935">setCurrentTask</a>(<a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task.html">Task</a> currentTask) {</div>
<div class="line"><a name="l00630"></a><span class="lineno">  630</span>&#160;        this.currentTask = <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a453c463e690a18bf6cba62e3f27c1e72.html#a453c463e690a18bf6cba62e3f27c1e72">currentTask</a>;</div>
<div class="line"><a name="l00631"></a><span class="lineno">  631</span>&#160;    }</div>
<div class="line"><a name="l00632"></a><span class="lineno">  632</span>&#160;</div>
<div class="line"><a name="l00636"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_afb74806ef37665d392a86dce2e3c6546.html#afb74806ef37665d392a86dce2e3c6546">  636</a></span>&#160;    <span class="keyword">public</span> <a class="code" href="../../d4/d8b/classnars_1_1entity_1_1TermLink.html">TermLink</a> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_afb74806ef37665d392a86dce2e3c6546.html#afb74806ef37665d392a86dce2e3c6546">getCurrentBeliefLink</a>() {</div>
<div class="line"><a name="l00637"></a><span class="lineno">  637</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a49546cffa504adec47732213db21f02a.html#a49546cffa504adec47732213db21f02a">currentBeliefLink</a>;</div>
<div class="line"><a name="l00638"></a><span class="lineno">  638</span>&#160;    }</div>
<div class="line"><a name="l00639"></a><span class="lineno">  639</span>&#160;</div>
<div class="line"><a name="l00640"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a9bba24c2bbb3d9f36c0528a2760e8647.html#a9bba24c2bbb3d9f36c0528a2760e8647">  640</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a9bba24c2bbb3d9f36c0528a2760e8647.html#a9bba24c2bbb3d9f36c0528a2760e8647">setCurrentBeliefLink</a>(<a class="code" href="../../d4/d8b/classnars_1_1entity_1_1TermLink.html">TermLink</a> currentBeliefLink) {</div>
<div class="line"><a name="l00641"></a><span class="lineno">  641</span>&#160;        this.currentBeliefLink = <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a49546cffa504adec47732213db21f02a.html#a49546cffa504adec47732213db21f02a">currentBeliefLink</a>;</div>
<div class="line"><a name="l00642"></a><span class="lineno">  642</span>&#160;    }</div>
<div class="line"><a name="l00643"></a><span class="lineno">  643</span>&#160;</div>
<div class="line"><a name="l00647"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_aae366ea198c2340fef786120d5c2163b.html#aae366ea198c2340fef786120d5c2163b">  647</a></span>&#160;    <span class="keyword">public</span> <a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence.html">Sentence</a> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aae366ea198c2340fef786120d5c2163b.html#aae366ea198c2340fef786120d5c2163b">getCurrentBelief</a>() {</div>
<div class="line"><a name="l00648"></a><span class="lineno">  648</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_afeb33d4d2ca9e749ee7957713d1c993d.html#afeb33d4d2ca9e749ee7957713d1c993d">currentBelief</a>;</div>
<div class="line"><a name="l00649"></a><span class="lineno">  649</span>&#160;    }</div>
<div class="line"><a name="l00650"></a><span class="lineno">  650</span>&#160;</div>
<div class="line"><a name="l00651"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a3482da9df329962e73213118fbaef131.html#a3482da9df329962e73213118fbaef131">  651</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a3482da9df329962e73213118fbaef131.html#a3482da9df329962e73213118fbaef131">setCurrentBelief</a>(<a class="code" href="../../d6/d25/classnars_1_1entity_1_1Sentence.html">Sentence</a> currentBelief) {</div>
<div class="line"><a name="l00652"></a><span class="lineno">  652</span>&#160;        this.currentBelief = <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_afeb33d4d2ca9e749ee7957713d1c993d.html#afeb33d4d2ca9e749ee7957713d1c993d">currentBelief</a>;</div>
<div class="line"><a name="l00653"></a><span class="lineno">  653</span>&#160;    }</div>
<div class="line"><a name="l00654"></a><span class="lineno">  654</span>&#160;</div>
<div class="line"><a name="l00658"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a09af34150e8562d5c93170388c8804b7.html#a09af34150e8562d5c93170388c8804b7">  658</a></span>&#160;    <span class="keyword">public</span> <a class="code" href="../../d1/d1e/classnars_1_1entity_1_1Stamp.html">Stamp</a> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a09af34150e8562d5c93170388c8804b7.html#a09af34150e8562d5c93170388c8804b7">getNewStamp</a>() {</div>
<div class="line"><a name="l00659"></a><span class="lineno">  659</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_abd47ecd35e1df5fa418f2a07545d6f2d.html#abd47ecd35e1df5fa418f2a07545d6f2d">newStamp</a>;</div>
<div class="line"><a name="l00660"></a><span class="lineno">  660</span>&#160;    }</div>
<div class="line"><a name="l00661"></a><span class="lineno">  661</span>&#160;</div>
<div class="line"><a name="l00662"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_aa8d87fbd9fbd6229e88184fd23553778.html#aa8d87fbd9fbd6229e88184fd23553778">  662</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aa8d87fbd9fbd6229e88184fd23553778.html#aa8d87fbd9fbd6229e88184fd23553778">setNewStamp</a>(<a class="code" href="../../d1/d1e/classnars_1_1entity_1_1Stamp.html">Stamp</a> newStamp) {</div>
<div class="line"><a name="l00663"></a><span class="lineno">  663</span>&#160;        this.newStamp = <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_abd47ecd35e1df5fa418f2a07545d6f2d.html#abd47ecd35e1df5fa418f2a07545d6f2d">newStamp</a>;</div>
<div class="line"><a name="l00664"></a><span class="lineno">  664</span>&#160;    }</div>
<div class="line"><a name="l00665"></a><span class="lineno">  665</span>&#160;</div>
<div class="line"><a name="l00670"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_abdaee5d2bdc38e3d7a4c873008925df2.html#abdaee5d2bdc38e3d7a4c873008925df2">  670</a></span>&#160;    <span class="keyword">public</span> HashMap&lt;Term, Term&gt; <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_abdaee5d2bdc38e3d7a4c873008925df2.html#abdaee5d2bdc38e3d7a4c873008925df2">getSubstitute</a>() {</div>
<div class="line"><a name="l00671"></a><span class="lineno">  671</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a1f7d33641b5c944c9b9a26a69b01e4b6.html#a1f7d33641b5c944c9b9a26a69b01e4b6">substitute</a>;</div>
<div class="line"><a name="l00672"></a><span class="lineno">  672</span>&#160;    }</div>
<div class="line"><a name="l00673"></a><span class="lineno">  673</span>&#160;</div>
<div class="line"><a name="l00674"></a><span class="lineno"><a class="line" href="../../d8/df4/classnars_1_1storage_1_1Memory_a8787753ee92ab51bb29a868b959c37b1.html#a8787753ee92ab51bb29a868b959c37b1">  674</a></span>&#160;    <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a8787753ee92ab51bb29a868b959c37b1.html#a8787753ee92ab51bb29a868b959c37b1">setSubstitute</a>(HashMap&lt;Term, Term&gt; substitute) {</div>
<div class="line"><a name="l00675"></a><span class="lineno">  675</span>&#160;        this.substitute = <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a1f7d33641b5c944c9b9a26a69b01e4b6.html#a1f7d33641b5c944c9b9a26a69b01e4b6">substitute</a>;</div>
<div class="line"><a name="l00676"></a><span class="lineno">  676</span>&#160;    }</div>
<div class="line"><a name="l00677"></a><span class="lineno">  677</span>&#160;</div>
<div class="line"><a name="l00678"></a><span class="lineno"><a class="line" href="../../de/d27/classnars_1_1storage_1_1Memory_1_1NullInferenceRecorder.html">  678</a></span>&#160;    <span class="keyword">class </span><a class="code" href="../../de/d27/classnars_1_1storage_1_1Memory_1_1NullInferenceRecorder.html">NullInferenceRecorder</a> <span class="keyword">implements</span> <a class="code" href="../../db/d34/interfacenars_1_1io_1_1IInferenceRecorder.html">IInferenceRecorder</a> {</div>
<div class="line"><a name="l00679"></a><span class="lineno">  679</span>&#160;</div>
<div class="line"><a name="l00680"></a><span class="lineno">  680</span>&#160;        @Override</div>
<div class="line"><a name="l00681"></a><span class="lineno"><a class="line" href="../../de/d27/classnars_1_1storage_1_1Memory_1_1NullInferenceRecorder_a0d79c507ca3cb098fa080ca39518a686.html#a0d79c507ca3cb098fa080ca39518a686">  681</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../de/d27/classnars_1_1storage_1_1Memory_1_1NullInferenceRecorder_a0d79c507ca3cb098fa080ca39518a686.html#a0d79c507ca3cb098fa080ca39518a686">init</a>() {</div>
<div class="line"><a name="l00682"></a><span class="lineno">  682</span>&#160;        }</div>
<div class="line"><a name="l00683"></a><span class="lineno">  683</span>&#160;</div>
<div class="line"><a name="l00684"></a><span class="lineno">  684</span>&#160;        @Override</div>
<div class="line"><a name="l00685"></a><span class="lineno"><a class="line" href="../../de/d27/classnars_1_1storage_1_1Memory_1_1NullInferenceRecorder_ad19f18c072e44e25393bdbf5417727c7.html#ad19f18c072e44e25393bdbf5417727c7">  685</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../de/d27/classnars_1_1storage_1_1Memory_1_1NullInferenceRecorder_ad19f18c072e44e25393bdbf5417727c7.html#ad19f18c072e44e25393bdbf5417727c7">show</a>() {</div>
<div class="line"><a name="l00686"></a><span class="lineno">  686</span>&#160;        }</div>
<div class="line"><a name="l00687"></a><span class="lineno">  687</span>&#160;</div>
<div class="line"><a name="l00688"></a><span class="lineno">  688</span>&#160;        @Override</div>
<div class="line"><a name="l00689"></a><span class="lineno"><a class="line" href="../../de/d27/classnars_1_1storage_1_1Memory_1_1NullInferenceRecorder_a96e2d9476df2d20f3b936a12dca8a9b4.html#a96e2d9476df2d20f3b936a12dca8a9b4">  689</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../de/d27/classnars_1_1storage_1_1Memory_1_1NullInferenceRecorder_a96e2d9476df2d20f3b936a12dca8a9b4.html#a96e2d9476df2d20f3b936a12dca8a9b4">play</a>() {</div>
<div class="line"><a name="l00690"></a><span class="lineno">  690</span>&#160;        }</div>
<div class="line"><a name="l00691"></a><span class="lineno">  691</span>&#160;</div>
<div class="line"><a name="l00692"></a><span class="lineno">  692</span>&#160;        @Override</div>
<div class="line"><a name="l00693"></a><span class="lineno"><a class="line" href="../../de/d27/classnars_1_1storage_1_1Memory_1_1NullInferenceRecorder_ac22b93f332ec8095e000d115428294db.html#ac22b93f332ec8095e000d115428294db">  693</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../de/d27/classnars_1_1storage_1_1Memory_1_1NullInferenceRecorder_ac22b93f332ec8095e000d115428294db.html#ac22b93f332ec8095e000d115428294db">stop</a>() {</div>
<div class="line"><a name="l00694"></a><span class="lineno">  694</span>&#160;        }</div>
<div class="line"><a name="l00695"></a><span class="lineno">  695</span>&#160;</div>
<div class="line"><a name="l00696"></a><span class="lineno">  696</span>&#160;        @Override</div>
<div class="line"><a name="l00697"></a><span class="lineno"><a class="line" href="../../de/d27/classnars_1_1storage_1_1Memory_1_1NullInferenceRecorder_a8caa7a65923d1fae07ca45c6bc79ea53.html#a8caa7a65923d1fae07ca45c6bc79ea53">  697</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../de/d27/classnars_1_1storage_1_1Memory_1_1NullInferenceRecorder_a8caa7a65923d1fae07ca45c6bc79ea53.html#a8caa7a65923d1fae07ca45c6bc79ea53">append</a>(String s) {</div>
<div class="line"><a name="l00698"></a><span class="lineno">  698</span>&#160;        }</div>
<div class="line"><a name="l00699"></a><span class="lineno">  699</span>&#160;</div>
<div class="line"><a name="l00700"></a><span class="lineno">  700</span>&#160;        @Override</div>
<div class="line"><a name="l00701"></a><span class="lineno"><a class="line" href="../../de/d27/classnars_1_1storage_1_1Memory_1_1NullInferenceRecorder_a0638f978b4d7b7f211bf4b3c5861292f.html#a0638f978b4d7b7f211bf4b3c5861292f">  701</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../de/d27/classnars_1_1storage_1_1Memory_1_1NullInferenceRecorder_a0638f978b4d7b7f211bf4b3c5861292f.html#a0638f978b4d7b7f211bf4b3c5861292f">openLogFile</a>() {</div>
<div class="line"><a name="l00702"></a><span class="lineno">  702</span>&#160;        }</div>
<div class="line"><a name="l00703"></a><span class="lineno">  703</span>&#160;</div>
<div class="line"><a name="l00704"></a><span class="lineno">  704</span>&#160;        @Override</div>
<div class="line"><a name="l00705"></a><span class="lineno"><a class="line" href="../../de/d27/classnars_1_1storage_1_1Memory_1_1NullInferenceRecorder_a2f9d1874ca0c58f3cafd61affcfe86a4.html#a2f9d1874ca0c58f3cafd61affcfe86a4">  705</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../de/d27/classnars_1_1storage_1_1Memory_1_1NullInferenceRecorder_a2f9d1874ca0c58f3cafd61affcfe86a4.html#a2f9d1874ca0c58f3cafd61affcfe86a4">closeLogFile</a>() {</div>
<div class="line"><a name="l00706"></a><span class="lineno">  706</span>&#160;        }</div>
<div class="line"><a name="l00707"></a><span class="lineno">  707</span>&#160;</div>
<div class="line"><a name="l00708"></a><span class="lineno">  708</span>&#160;        @Override</div>
<div class="line"><a name="l00709"></a><span class="lineno"><a class="line" href="../../de/d27/classnars_1_1storage_1_1Memory_1_1NullInferenceRecorder_adbe6f439a15d417a5ef189ab8dafba07.html#adbe6f439a15d417a5ef189ab8dafba07">  709</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">boolean</span> <a class="code" href="../../de/d27/classnars_1_1storage_1_1Memory_1_1NullInferenceRecorder_adbe6f439a15d417a5ef189ab8dafba07.html#adbe6f439a15d417a5ef189ab8dafba07">isLogging</a>() {</div>
<div class="line"><a name="l00710"></a><span class="lineno">  710</span>&#160;            <span class="keywordflow">return</span> <span class="keyword">false</span>;</div>
<div class="line"><a name="l00711"></a><span class="lineno">  711</span>&#160;        }</div>
<div class="line"><a name="l00712"></a><span class="lineno">  712</span>&#160;    }</div>
<div class="line"><a name="l00713"></a><span class="lineno">  713</span>&#160;</div>
<div class="line"><a name="l00722"></a><span class="lineno"><a class="line" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch.html">  722</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">class </span><a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch.html">NARSBatch</a> {</div>
<div class="line"><a name="l00724"></a><span class="lineno"><a class="line" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a153320b4db462e7023e17676cf202022.html#a153320b4db462e7023e17676cf202022">  724</a></span>&#160;        <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch.html">ReasonerBatch</a> <a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a153320b4db462e7023e17676cf202022.html#a153320b4db462e7023e17676cf202022">reasoner</a>;</div>
<div class="line"><a name="l00725"></a><span class="lineno"><a class="line" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a329533eae1f4304ec5c610dc6debfa89.html#a329533eae1f4304ec5c610dc6debfa89">  725</a></span>&#160;        <span class="keyword">transient</span> <span class="keyword">private</span> <span class="keywordtype">boolean</span> <a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a329533eae1f4304ec5c610dc6debfa89.html#a329533eae1f4304ec5c610dc6debfa89">logging</a>;</div>
<div class="line"><a name="l00726"></a><span class="lineno"><a class="line" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_aba69ed21c77b3bdbf3a8fc95cb1789de.html#aba69ed21c77b3bdbf3a8fc95cb1789de">  726</a></span>&#160;        <span class="keyword">private</span> PrintStream <a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_aba69ed21c77b3bdbf3a8fc95cb1789de.html#aba69ed21c77b3bdbf3a8fc95cb1789de">out</a> = System.out;</div>
<div class="line"><a name="l00727"></a><span class="lineno"><a class="line" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_aca495a740f107e3d243f40b84a7affe0.html#aca495a740f107e3d243f40b84a7affe0">  727</a></span>&#160;        <span class="keyword">transient</span> <span class="keyword">private</span> <span class="keywordtype">boolean</span> <a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_aca495a740f107e3d243f40b84a7affe0.html#aca495a740f107e3d243f40b84a7affe0">dumpLastState</a> = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00731"></a><span class="lineno"><a class="line" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a294ea170b4b8412f0a87d8f541c5b134.html#a294ea170b4b8412f0a87d8f541c5b134">  731</a></span>&#160;        <span class="keyword">private</span> <span class="keyword">static</span> <span class="keywordtype">boolean</span> <a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a294ea170b4b8412f0a87d8f541c5b134.html#a294ea170b4b8412f0a87d8f541c5b134">standAlone</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00732"></a><span class="lineno">  732</span>&#160;</div>
<div class="line"><a name="l00742"></a><span class="lineno"><a class="line" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_aa97fcd68270583e60e6bf1b4579d1bdc.html#aa97fcd68270583e60e6bf1b4579d1bdc">  742</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_aa97fcd68270583e60e6bf1b4579d1bdc.html#aa97fcd68270583e60e6bf1b4579d1bdc">main</a>(String args[]) {</div>
<div class="line"><a name="l00743"></a><span class="lineno">  743</span>&#160;            <a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch.html">NARSBatch</a> <a class="code" href="../../d7/d81/namespacenars.html">nars</a> = <span class="keyword">new</span> <a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a4a34ffaab4bcb8885d685edf69f4e2d2.html#a4a34ffaab4bcb8885d685edf69f4e2d2">NARSBatch</a>();</div>
<div class="line"><a name="l00744"></a><span class="lineno">  744</span>&#160;            <a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_aa86da80a078bad5c1933e5080b9d6f2d.html#aa86da80a078bad5c1933e5080b9d6f2d">setStandAlone</a>(<span class="keyword">true</span>);</div>
<div class="line"><a name="l00745"></a><span class="lineno">  745</span>&#160;            <a class="code" href="../../de/d7c/classnars_1_1main__nogui_1_1CommandLineParameters.html">CommandLineParameters</a>.<a class="code" href="../../de/d7c/classnars_1_1main__nogui_1_1CommandLineParameters_a951a4321a1439178d5f4b173d362acb0.html#a951a4321a1439178d5f4b173d362acb0">decode</a>(args, nars.<a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_ae4dd59b40d930a3e087c7bbfaabaa401.html#ae4dd59b40d930a3e087c7bbfaabaa401">getReasoner</a>());</div>
<div class="line"><a name="l00746"></a><span class="lineno">  746</span>&#160;            nars.<a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a416c39463faa161661ed1d12fea03b3c.html#a416c39463faa161661ed1d12fea03b3c">runInference</a>(args);</div>
<div class="line"><a name="l00747"></a><span class="lineno">  747</span>&#160;            <span class="comment">// TODO only if single run ( no reset in between )</span></div>
<div class="line"><a name="l00748"></a><span class="lineno">  748</span>&#160;            <span class="keywordflow">if</span> (nars.<a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a5f4feaef67fc714ca04ab583fdd0244c.html#a5f4feaef67fc714ca04ab583fdd0244c">isDumpLastState</a>())</div>
<div class="line"><a name="l00749"></a><span class="lineno">  749</span>&#160;                System.out.println(<span class="stringliteral">&quot;\n==== Dump Last State ====\n&quot;</span></div>
<div class="line"><a name="l00750"></a><span class="lineno">  750</span>&#160;                        + nars.<a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a153320b4db462e7023e17676cf202022.html#a153320b4db462e7023e17676cf202022">reasoner</a>.<a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_abe0a305225a0a868b474a76e08cea4b3.html#abe0a305225a0a868b474a76e08cea4b3">toString</a>());</div>
<div class="line"><a name="l00751"></a><span class="lineno">  751</span>&#160;        }</div>
<div class="line"><a name="l00752"></a><span class="lineno">  752</span>&#160;</div>
<div class="line"><a name="l00753"></a><span class="lineno"><a class="line" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a4a34ffaab4bcb8885d685edf69f4e2d2.html#a4a34ffaab4bcb8885d685edf69f4e2d2">  753</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a4a34ffaab4bcb8885d685edf69f4e2d2.html#a4a34ffaab4bcb8885d685edf69f4e2d2">NARSBatch</a>() {</div>
<div class="line"><a name="l00754"></a><span class="lineno">  754</span>&#160;            <a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a05cd31ec7e6c7af1d1d3c3044942995a.html#a05cd31ec7e6c7af1d1d3c3044942995a">init</a>();</div>
<div class="line"><a name="l00755"></a><span class="lineno">  755</span>&#160;        }</div>
<div class="line"><a name="l00756"></a><span class="lineno">  756</span>&#160;</div>
<div class="line"><a name="l00761"></a><span class="lineno"><a class="line" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a416c39463faa161661ed1d12fea03b3c.html#a416c39463faa161661ed1d12fea03b3c">  761</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a416c39463faa161661ed1d12fea03b3c.html#a416c39463faa161661ed1d12fea03b3c">runInference</a>(String args[]) {</div>
<div class="line"><a name="l00762"></a><span class="lineno">  762</span>&#160;            <a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a05cd31ec7e6c7af1d1d3c3044942995a.html#a05cd31ec7e6c7af1d1d3c3044942995a">init</a>(args);</div>
<div class="line"><a name="l00763"></a><span class="lineno">  763</span>&#160;            <a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_aad99db6cedde9cff2a997db8906ff821.html#aad99db6cedde9cff2a997db8906ff821">run</a>();</div>
<div class="line"><a name="l00764"></a><span class="lineno">  764</span>&#160;        }</div>
<div class="line"><a name="l00765"></a><span class="lineno">  765</span>&#160;</div>
<div class="line"><a name="l00767"></a><span class="lineno"><a class="line" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a431c0e57ee4f4cf68cf8b34d372e2282.html#a431c0e57ee4f4cf68cf8b34d372e2282">  767</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a431c0e57ee4f4cf68cf8b34d372e2282.html#a431c0e57ee4f4cf68cf8b34d372e2282">init</a>(String[] args) {</div>
<div class="line"><a name="l00768"></a><span class="lineno">  768</span>&#160;            <span class="keywordflow">if</span> (args.length &gt; 0) {</div>
<div class="line"><a name="l00769"></a><span class="lineno">  769</span>&#160;                <a class="code" href="../../d7/d69/classnars_1_1io_1_1ExperienceReader.html">ExperienceReader</a> experienceReader = <span class="keyword">new</span> <a class="code" href="../../d7/d69/classnars_1_1io_1_1ExperienceReader.html">ExperienceReader</a>(reasoner);</div>
<div class="line"><a name="l00770"></a><span class="lineno">  770</span>&#160;                experienceReader.<a class="code" href="../../d7/d69/classnars_1_1io_1_1ExperienceReader_a9f3c8bc8f7309340a49f51ff680811dd.html#a9f3c8bc8f7309340a49f51ff680811dd">openLoadFile</a>(args[0]);</div>
<div class="line"><a name="l00771"></a><span class="lineno">  771</span>&#160;            }</div>
<div class="line"><a name="l00772"></a><span class="lineno">  772</span>&#160;            reasoner.<a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_ab57c8b17d75a77c308f50ed6fe4033fd.html#ab57c8b17d75a77c308f50ed6fe4033fd">addOutputChannel</a>(<span class="keyword">new</span> <a class="code" href="../../d0/d5d/classnars_1_1io_1_1ExperienceWriter.html">ExperienceWriter</a>(reasoner,</div>
<div class="line"><a name="l00773"></a><span class="lineno">  773</span>&#160;                    <span class="keyword">new</span> PrintWriter(out, <span class="keyword">true</span>)));</div>
<div class="line"><a name="l00774"></a><span class="lineno">  774</span>&#160;        }</div>
<div class="line"><a name="l00775"></a><span class="lineno">  775</span>&#160;</div>
<div class="line"><a name="l00780"></a><span class="lineno"><a class="line" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_ad382d6187314bd217cb3eddb34ba29bd.html#ad382d6187314bd217cb3eddb34ba29bd">  780</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_ad382d6187314bd217cb3eddb34ba29bd.html#ad382d6187314bd217cb3eddb34ba29bd">runInference</a>(BufferedReader r, BufferedWriter w) {</div>
<div class="line"><a name="l00781"></a><span class="lineno">  781</span>&#160;            <a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a05cd31ec7e6c7af1d1d3c3044942995a.html#a05cd31ec7e6c7af1d1d3c3044942995a">init</a>(r, w);</div>
<div class="line"><a name="l00782"></a><span class="lineno">  782</span>&#160;            <a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_aad99db6cedde9cff2a997db8906ff821.html#aad99db6cedde9cff2a997db8906ff821">run</a>();</div>
<div class="line"><a name="l00783"></a><span class="lineno">  783</span>&#160;        }</div>
<div class="line"><a name="l00784"></a><span class="lineno">  784</span>&#160;</div>
<div class="line"><a name="l00785"></a><span class="lineno"><a class="line" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a43443e8b81b7a19e61490fa2d8e98c7e.html#a43443e8b81b7a19e61490fa2d8e98c7e">  785</a></span>&#160;        <span class="keyword">private</span> <span class="keywordtype">void</span> <a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a43443e8b81b7a19e61490fa2d8e98c7e.html#a43443e8b81b7a19e61490fa2d8e98c7e">init</a>(BufferedReader r, BufferedWriter w) {</div>
<div class="line"><a name="l00786"></a><span class="lineno">  786</span>&#160;            <a class="code" href="../../d7/d69/classnars_1_1io_1_1ExperienceReader.html">ExperienceReader</a> experienceReader = <span class="keyword">new</span> <a class="code" href="../../d7/d69/classnars_1_1io_1_1ExperienceReader.html">ExperienceReader</a>(reasoner);</div>
<div class="line"><a name="l00787"></a><span class="lineno">  787</span>&#160;            experienceReader.<a class="code" href="../../d7/d69/classnars_1_1io_1_1ExperienceReader_a1e4529d4f692ecfc7becd9d8e367b3d6.html#a1e4529d4f692ecfc7becd9d8e367b3d6">setBufferedReader</a>(r);</div>
<div class="line"><a name="l00788"></a><span class="lineno">  788</span>&#160;            reasoner.<a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_ab57c8b17d75a77c308f50ed6fe4033fd.html#ab57c8b17d75a77c308f50ed6fe4033fd">addOutputChannel</a>(<span class="keyword">new</span> <a class="code" href="../../d0/d5d/classnars_1_1io_1_1ExperienceWriter.html">ExperienceWriter</a>(reasoner,</div>
<div class="line"><a name="l00789"></a><span class="lineno">  789</span>&#160;                    <span class="keyword">new</span> PrintWriter(w, <span class="keyword">true</span>)));</div>
<div class="line"><a name="l00790"></a><span class="lineno">  790</span>&#160;        }</div>
<div class="line"><a name="l00791"></a><span class="lineno">  791</span>&#160;</div>
<div class="line"><a name="l00797"></a><span class="lineno"><a class="line" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a05cd31ec7e6c7af1d1d3c3044942995a.html#a05cd31ec7e6c7af1d1d3c3044942995a">  797</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a05cd31ec7e6c7af1d1d3c3044942995a.html#a05cd31ec7e6c7af1d1d3c3044942995a">init</a>() {</div>
<div class="line"><a name="l00798"></a><span class="lineno">  798</span>&#160;            reasoner = <span class="keyword">new</span> <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch.html">ReasonerBatch</a>();</div>
<div class="line"><a name="l00799"></a><span class="lineno">  799</span>&#160;        }</div>
<div class="line"><a name="l00800"></a><span class="lineno">  800</span>&#160;</div>
<div class="line"><a name="l00806"></a><span class="lineno"><a class="line" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_aad99db6cedde9cff2a997db8906ff821.html#aad99db6cedde9cff2a997db8906ff821">  806</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_aad99db6cedde9cff2a997db8906ff821.html#aad99db6cedde9cff2a997db8906ff821">run</a>() {</div>
<div class="line"><a name="l00807"></a><span class="lineno">  807</span>&#160;            <span class="keywordflow">while</span> (<span class="keyword">true</span>) {</div>
<div class="line"><a name="l00808"></a><span class="lineno">  808</span>&#160;                <a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a85e385223fd2613e3abad3401613a784.html#a85e385223fd2613e3abad3401613a784">log</a>(<span class="stringliteral">&quot;NARSBatch.run():&quot;</span> + <span class="stringliteral">&quot; step &quot;</span> + reasoner.<a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_aaf7efb6a6732b702669e9548bdb3a243.html#aaf7efb6a6732b702669e9548bdb3a243">getTime</a>() + <span class="stringliteral">&quot; &quot;</span></div>
<div class="line"><a name="l00809"></a><span class="lineno">  809</span>&#160;                        + reasoner.<a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_af9ca62650d9cf6d2dfd82043cb92e19e.html#af9ca62650d9cf6d2dfd82043cb92e19e">isFinishedInputs</a>());</div>
<div class="line"><a name="l00810"></a><span class="lineno">  810</span>&#160;                reasoner.<a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_aed591f05899b98fd9e4ad01836ad0a40.html#aed591f05899b98fd9e4ad01836ad0a40">tick</a>();</div>
<div class="line"><a name="l00811"></a><span class="lineno">  811</span>&#160;                <a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a85e385223fd2613e3abad3401613a784.html#a85e385223fd2613e3abad3401613a784">log</a>(<span class="stringliteral">&quot;NARSBatch.run(): after tick&quot;</span> + <span class="stringliteral">&quot; step &quot;</span> + reasoner.<a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_aaf7efb6a6732b702669e9548bdb3a243.html#aaf7efb6a6732b702669e9548bdb3a243">getTime</a>()</div>
<div class="line"><a name="l00812"></a><span class="lineno">  812</span>&#160;                        + <span class="stringliteral">&quot; &quot;</span> + reasoner.<a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_af9ca62650d9cf6d2dfd82043cb92e19e.html#af9ca62650d9cf6d2dfd82043cb92e19e">isFinishedInputs</a>());</div>
<div class="line"><a name="l00813"></a><span class="lineno">  813</span>&#160;                <span class="keywordflow">if</span> (reasoner.<a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_af9ca62650d9cf6d2dfd82043cb92e19e.html#af9ca62650d9cf6d2dfd82043cb92e19e">isFinishedInputs</a>() || reasoner.<a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_aaf7efb6a6732b702669e9548bdb3a243.html#aaf7efb6a6732b702669e9548bdb3a243">getTime</a>() == 1000)</div>
<div class="line"><a name="l00814"></a><span class="lineno">  814</span>&#160;                    <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l00815"></a><span class="lineno">  815</span>&#160;            }</div>
<div class="line"><a name="l00816"></a><span class="lineno">  816</span>&#160;        }</div>
<div class="line"><a name="l00817"></a><span class="lineno">  817</span>&#160;</div>
<div class="line"><a name="l00818"></a><span class="lineno"><a class="line" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_aa4044ed567b9b4a84059f3d4c9f1fd76.html#aa4044ed567b9b4a84059f3d4c9f1fd76">  818</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_aa4044ed567b9b4a84059f3d4c9f1fd76.html#aa4044ed567b9b4a84059f3d4c9f1fd76">setPrintStream</a>(PrintStream out) {</div>
<div class="line"><a name="l00819"></a><span class="lineno">  819</span>&#160;            this.out = <a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_aba69ed21c77b3bdbf3a8fc95cb1789de.html#aba69ed21c77b3bdbf3a8fc95cb1789de">out</a>;</div>
<div class="line"><a name="l00820"></a><span class="lineno">  820</span>&#160;        }</div>
<div class="line"><a name="l00821"></a><span class="lineno">  821</span>&#160;</div>
<div class="line"><a name="l00822"></a><span class="lineno"><a class="line" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a85e385223fd2613e3abad3401613a784.html#a85e385223fd2613e3abad3401613a784">  822</a></span>&#160;        <span class="keyword">private</span> <span class="keywordtype">void</span> <a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a85e385223fd2613e3abad3401613a784.html#a85e385223fd2613e3abad3401613a784">log</a>(String mess) {</div>
<div class="line"><a name="l00823"></a><span class="lineno">  823</span>&#160;            <span class="keywordflow">if</span> (logging)</div>
<div class="line"><a name="l00824"></a><span class="lineno">  824</span>&#160;                System.out.println(<span class="stringliteral">&quot;/ &quot;</span> + mess);</div>
<div class="line"><a name="l00825"></a><span class="lineno">  825</span>&#160;        }</div>
<div class="line"><a name="l00826"></a><span class="lineno">  826</span>&#160;</div>
<div class="line"><a name="l00827"></a><span class="lineno"><a class="line" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_ae4dd59b40d930a3e087c7bbfaabaa401.html#ae4dd59b40d930a3e087c7bbfaabaa401">  827</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch.html">ReasonerBatch</a> <a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_ae4dd59b40d930a3e087c7bbfaabaa401.html#ae4dd59b40d930a3e087c7bbfaabaa401">getReasoner</a>() {</div>
<div class="line"><a name="l00828"></a><span class="lineno">  828</span>&#160;            <span class="keywordflow">return</span> <a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a153320b4db462e7023e17676cf202022.html#a153320b4db462e7023e17676cf202022">reasoner</a>;</div>
<div class="line"><a name="l00829"></a><span class="lineno">  829</span>&#160;        }</div>
<div class="line"><a name="l00830"></a><span class="lineno">  830</span>&#160;</div>
<div class="line"><a name="l00836"></a><span class="lineno"><a class="line" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a7e7f64ef4334dd4c3c757937f906ca70.html#a7e7f64ef4334dd4c3c757937f906ca70">  836</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <span class="keywordtype">boolean</span> <a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a7e7f64ef4334dd4c3c757937f906ca70.html#a7e7f64ef4334dd4c3c757937f906ca70">isStandAlone</a>() {</div>
<div class="line"><a name="l00837"></a><span class="lineno">  837</span>&#160;            <span class="keywordflow">return</span> <a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a294ea170b4b8412f0a87d8f541c5b134.html#a294ea170b4b8412f0a87d8f541c5b134">standAlone</a>;</div>
<div class="line"><a name="l00838"></a><span class="lineno">  838</span>&#160;        }</div>
<div class="line"><a name="l00839"></a><span class="lineno">  839</span>&#160;</div>
<div class="line"><a name="l00840"></a><span class="lineno"><a class="line" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_aa86da80a078bad5c1933e5080b9d6f2d.html#aa86da80a078bad5c1933e5080b9d6f2d">  840</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <span class="keywordtype">void</span> <a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_aa86da80a078bad5c1933e5080b9d6f2d.html#aa86da80a078bad5c1933e5080b9d6f2d">setStandAlone</a>(<span class="keywordtype">boolean</span> standAlone) {</div>
<div class="line"><a name="l00841"></a><span class="lineno">  841</span>&#160;            <a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch.html">NARSBatch</a>.<a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a294ea170b4b8412f0a87d8f541c5b134.html#a294ea170b4b8412f0a87d8f541c5b134">standAlone</a> = <a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a294ea170b4b8412f0a87d8f541c5b134.html#a294ea170b4b8412f0a87d8f541c5b134">standAlone</a>;</div>
<div class="line"><a name="l00842"></a><span class="lineno">  842</span>&#160;        }</div>
<div class="line"><a name="l00843"></a><span class="lineno">  843</span>&#160;</div>
<div class="line"><a name="l00844"></a><span class="lineno"><a class="line" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a5f4feaef67fc714ca04ab583fdd0244c.html#a5f4feaef67fc714ca04ab583fdd0244c">  844</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">boolean</span> <a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a5f4feaef67fc714ca04ab583fdd0244c.html#a5f4feaef67fc714ca04ab583fdd0244c">isDumpLastState</a>() {</div>
<div class="line"><a name="l00845"></a><span class="lineno">  845</span>&#160;            <span class="keywordflow">return</span> <a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_aca495a740f107e3d243f40b84a7affe0.html#aca495a740f107e3d243f40b84a7affe0">dumpLastState</a>;</div>
<div class="line"><a name="l00846"></a><span class="lineno">  846</span>&#160;        }</div>
<div class="line"><a name="l00847"></a><span class="lineno">  847</span>&#160;</div>
<div class="line"><a name="l00848"></a><span class="lineno"><a class="line" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_aa045f3f6aa398413be7cb453df3da38a.html#aa045f3f6aa398413be7cb453df3da38a">  848</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_aa045f3f6aa398413be7cb453df3da38a.html#aa045f3f6aa398413be7cb453df3da38a">setDumpLastState</a>(<span class="keywordtype">boolean</span> dumpLastState) {</div>
<div class="line"><a name="l00849"></a><span class="lineno">  849</span>&#160;            this.dumpLastState = <a class="code" href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_aca495a740f107e3d243f40b84a7affe0.html#aca495a740f107e3d243f40b84a7affe0">dumpLastState</a>;</div>
<div class="line"><a name="l00850"></a><span class="lineno">  850</span>&#160;        }</div>
<div class="line"><a name="l00851"></a><span class="lineno">  851</span>&#160;    }</div>
<div class="line"><a name="l00852"></a><span class="lineno">  852</span>&#160;</div>
<div class="line"><a name="l00853"></a><span class="lineno"><a class="line" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch.html">  853</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">class </span><a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch.html">ReasonerBatch</a> {</div>
<div class="line"><a name="l00855"></a><span class="lineno"><a class="line" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a9652b5277f36d45b4c29da8f51a7f7e9.html#a9652b5277f36d45b4c29da8f51a7f7e9">  855</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">final</span> <span class="keywordtype">boolean</span> <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a9652b5277f36d45b4c29da8f51a7f7e9.html#a9652b5277f36d45b4c29da8f51a7f7e9">DEBUG</a> = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00857"></a><span class="lineno"><a class="line" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a0b31d81b17bf3cfb4e48ff2d1bae63ee.html#a0b31d81b17bf3cfb4e48ff2d1bae63ee">  857</a></span>&#160;        <span class="keyword">protected</span> String <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a0b31d81b17bf3cfb4e48ff2d1bae63ee.html#a0b31d81b17bf3cfb4e48ff2d1bae63ee">name</a>;</div>
<div class="line"><a name="l00859"></a><span class="lineno"><a class="line" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_ace7395287f9f294a67f4c1bc296577a5.html#ace7395287f9f294a67f4c1bc296577a5">  859</a></span>&#160;        <span class="keyword">protected</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory.html">Memory</a> <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_ace7395287f9f294a67f4c1bc296577a5.html#ace7395287f9f294a67f4c1bc296577a5">memory</a>;</div>
<div class="line"><a name="l00861"></a><span class="lineno"><a class="line" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a45ce7474ab42caf966322af667060930.html#a45ce7474ab42caf966322af667060930">  861</a></span>&#160;        <span class="keyword">protected</span> List&lt;InputChannel&gt; <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a45ce7474ab42caf966322af667060930.html#a45ce7474ab42caf966322af667060930">inputChannels</a>;</div>
<div class="line"><a name="l00863"></a><span class="lineno"><a class="line" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_af821c09815f5900e4c227b2bc7a5107b.html#af821c09815f5900e4c227b2bc7a5107b">  863</a></span>&#160;        <span class="keyword">protected</span> List&lt;OutputChannel&gt; <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_af821c09815f5900e4c227b2bc7a5107b.html#af821c09815f5900e4c227b2bc7a5107b">outputChannels</a>;</div>
<div class="line"><a name="l00865"></a><span class="lineno"><a class="line" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a47d57493de829c91533d002059ae1200.html#a47d57493de829c91533d002059ae1200">  865</a></span>&#160;        <span class="keyword">private</span> <span class="keywordtype">long</span> <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a47d57493de829c91533d002059ae1200.html#a47d57493de829c91533d002059ae1200">clock</a>;</div>
<div class="line"><a name="l00867"></a><span class="lineno"><a class="line" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_aef7252f44b7536ae7ec31718106b43d5.html#aef7252f44b7536ae7ec31718106b43d5">  867</a></span>&#160;        <span class="keyword">private</span> <span class="keywordtype">boolean</span> <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_aef7252f44b7536ae7ec31718106b43d5.html#aef7252f44b7536ae7ec31718106b43d5">running</a>;</div>
<div class="line"><a name="l00869"></a><span class="lineno"><a class="line" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a72c204fbe2e1070b0bdc45d7861ac9bd.html#a72c204fbe2e1070b0bdc45d7861ac9bd">  869</a></span>&#160;        <span class="keyword">private</span> <span class="keywordtype">int</span> <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a72c204fbe2e1070b0bdc45d7861ac9bd.html#a72c204fbe2e1070b0bdc45d7861ac9bd">walkingSteps</a>;</div>
<div class="line"><a name="l00872"></a><span class="lineno"><a class="line" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a1c380432b170513c7b396f16f2be7455.html#a1c380432b170513c7b396f16f2be7455">  872</a></span>&#160;        <span class="keyword">private</span> <span class="keywordtype">boolean</span> <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a1c380432b170513c7b396f16f2be7455.html#a1c380432b170513c7b396f16f2be7455">finishedInputs</a>;</div>
<div class="line"><a name="l00874"></a><span class="lineno"><a class="line" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a7301ea26f8957e467159aad6794f3ea1.html#a7301ea26f8957e467159aad6794f3ea1">  874</a></span>&#160;        <span class="keyword">private</span> <span class="keywordtype">long</span> <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a7301ea26f8957e467159aad6794f3ea1.html#a7301ea26f8957e467159aad6794f3ea1">timer</a>;</div>
<div class="line"><a name="l00875"></a><span class="lineno">  875</span>&#160;</div>
<div class="line"><a name="l00876"></a><span class="lineno"><a class="line" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_af63d9ef52a3562ea61add6aebf5a3db0.html#af63d9ef52a3562ea61add6aebf5a3db0">  876</a></span>&#160;        <span class="keyword">private</span> AtomicInteger <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_af63d9ef52a3562ea61add6aebf5a3db0.html#af63d9ef52a3562ea61add6aebf5a3db0">silenceValue</a> = <span class="keyword">new</span> AtomicInteger( <a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters.html">Parameters</a>.<a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a20cda9128cf27aa2d345c9081b7b3d9f.html#a20cda9128cf27aa2d345c9081b7b3d9f">SILENT_LEVEL</a> );</div>
<div class="line"><a name="l00877"></a><span class="lineno">  877</span>&#160;</div>
<div class="line"><a name="l00878"></a><span class="lineno"><a class="line" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a82e17451a5291bbbaaaa92ef3ce5d830.html#a82e17451a5291bbbaaaa92ef3ce5d830">  878</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a82e17451a5291bbbaaaa92ef3ce5d830.html#a82e17451a5291bbbaaaa92ef3ce5d830">ReasonerBatch</a>() {</div>
<div class="line"><a name="l00879"></a><span class="lineno">  879</span>&#160;            memory = <span class="keyword">new</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a3d47e1393f4751a94e1b18e64c9fa2ef.html#a3d47e1393f4751a94e1b18e64c9fa2ef">Memory</a>(<span class="keyword">this</span>);</div>
<div class="line"><a name="l00880"></a><span class="lineno">  880</span>&#160;            inputChannels = <span class="keyword">new</span> ArrayList&lt;InputChannel&gt;();</div>
<div class="line"><a name="l00881"></a><span class="lineno">  881</span>&#160;            outputChannels = <span class="keyword">new</span> ArrayList&lt;OutputChannel&gt;();</div>
<div class="line"><a name="l00882"></a><span class="lineno">  882</span>&#160;        }</div>
<div class="line"><a name="l00883"></a><span class="lineno">  883</span>&#160;</div>
<div class="line"><a name="l00887"></a><span class="lineno"><a class="line" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_af9b0f156f3063b99421e768fa4a1e09c.html#af9b0f156f3063b99421e768fa4a1e09c">  887</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_af9b0f156f3063b99421e768fa4a1e09c.html#af9b0f156f3063b99421e768fa4a1e09c">reset</a>() {</div>
<div class="line"><a name="l00888"></a><span class="lineno">  888</span>&#160;            running = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00889"></a><span class="lineno">  889</span>&#160;            walkingSteps = 0;</div>
<div class="line"><a name="l00890"></a><span class="lineno">  890</span>&#160;            clock = 0;</div>
<div class="line"><a name="l00891"></a><span class="lineno">  891</span>&#160;            memory.<a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_ac58580cf0e27e42f1972939bec1c0553.html#ac58580cf0e27e42f1972939bec1c0553">init</a>();</div>
<div class="line"><a name="l00892"></a><span class="lineno">  892</span>&#160;            <a class="code" href="../../d1/d1e/classnars_1_1entity_1_1Stamp.html">Stamp</a>.<a class="code" href="../../d1/d1e/classnars_1_1entity_1_1Stamp_a104d2fa1a93819a00e5a1221710128c0.html#a104d2fa1a93819a00e5a1221710128c0">init</a>();</div>
<div class="line"><a name="l00893"></a><span class="lineno">  893</span>&#160;    <span class="comment">//      timer = 0;</span></div>
<div class="line"><a name="l00894"></a><span class="lineno">  894</span>&#160;        }</div>
<div class="line"><a name="l00895"></a><span class="lineno">  895</span>&#160;</div>
<div class="line"><a name="l00896"></a><span class="lineno"><a class="line" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a09d7c31d9c0e91fcac2254b973feae61.html#a09d7c31d9c0e91fcac2254b973feae61">  896</a></span>&#160;        <span class="keyword">public</span> <a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory.html">Memory</a> <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a09d7c31d9c0e91fcac2254b973feae61.html#a09d7c31d9c0e91fcac2254b973feae61">getMemory</a>() {</div>
<div class="line"><a name="l00897"></a><span class="lineno">  897</span>&#160;            <span class="keywordflow">return</span> <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_ace7395287f9f294a67f4c1bc296577a5.html#ace7395287f9f294a67f4c1bc296577a5">memory</a>;</div>
<div class="line"><a name="l00898"></a><span class="lineno">  898</span>&#160;        }</div>
<div class="line"><a name="l00899"></a><span class="lineno">  899</span>&#160;</div>
<div class="line"><a name="l00900"></a><span class="lineno"><a class="line" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a02ce1388773a5d70668d98ae9bd75e74.html#a02ce1388773a5d70668d98ae9bd75e74">  900</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a02ce1388773a5d70668d98ae9bd75e74.html#a02ce1388773a5d70668d98ae9bd75e74">addInputChannel</a>(<a class="code" href="../../df/dd9/interfacenars_1_1io_1_1InputChannel.html">InputChannel</a> channel) {</div>
<div class="line"><a name="l00901"></a><span class="lineno">  901</span>&#160;            inputChannels.add(channel);</div>
<div class="line"><a name="l00902"></a><span class="lineno">  902</span>&#160;        }</div>
<div class="line"><a name="l00903"></a><span class="lineno">  903</span>&#160;</div>
<div class="line"><a name="l00904"></a><span class="lineno"><a class="line" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_abf96ab76d60c3cc77e7644d3f08b79d5.html#abf96ab76d60c3cc77e7644d3f08b79d5">  904</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_abf96ab76d60c3cc77e7644d3f08b79d5.html#abf96ab76d60c3cc77e7644d3f08b79d5">removeInputChannel</a>(<a class="code" href="../../df/dd9/interfacenars_1_1io_1_1InputChannel.html">InputChannel</a> channel) {</div>
<div class="line"><a name="l00905"></a><span class="lineno">  905</span>&#160;            inputChannels.remove(channel);</div>
<div class="line"><a name="l00906"></a><span class="lineno">  906</span>&#160;        }</div>
<div class="line"><a name="l00907"></a><span class="lineno">  907</span>&#160;</div>
<div class="line"><a name="l00908"></a><span class="lineno"><a class="line" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_ab57c8b17d75a77c308f50ed6fe4033fd.html#ab57c8b17d75a77c308f50ed6fe4033fd">  908</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_ab57c8b17d75a77c308f50ed6fe4033fd.html#ab57c8b17d75a77c308f50ed6fe4033fd">addOutputChannel</a>(<a class="code" href="../../d2/d60/interfacenars_1_1io_1_1OutputChannel.html">OutputChannel</a> channel) {</div>
<div class="line"><a name="l00909"></a><span class="lineno">  909</span>&#160;            outputChannels.add(channel);</div>
<div class="line"><a name="l00910"></a><span class="lineno">  910</span>&#160;        }</div>
<div class="line"><a name="l00911"></a><span class="lineno">  911</span>&#160;</div>
<div class="line"><a name="l00912"></a><span class="lineno"><a class="line" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a24dd5c79fa50a7c8cfa9faf6e8a4e650.html#a24dd5c79fa50a7c8cfa9faf6e8a4e650">  912</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a24dd5c79fa50a7c8cfa9faf6e8a4e650.html#a24dd5c79fa50a7c8cfa9faf6e8a4e650">removeOutputChannel</a>(<a class="code" href="../../d2/d60/interfacenars_1_1io_1_1OutputChannel.html">OutputChannel</a> channel) {</div>
<div class="line"><a name="l00913"></a><span class="lineno">  913</span>&#160;            outputChannels.remove(channel);</div>
<div class="line"><a name="l00914"></a><span class="lineno">  914</span>&#160;        }</div>
<div class="line"><a name="l00915"></a><span class="lineno">  915</span>&#160;</div>
<div class="line"><a name="l00921"></a><span class="lineno"><a class="line" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_aaf7efb6a6732b702669e9548bdb3a243.html#aaf7efb6a6732b702669e9548bdb3a243">  921</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">long</span> <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_aaf7efb6a6732b702669e9548bdb3a243.html#aaf7efb6a6732b702669e9548bdb3a243">getTime</a>() {</div>
<div class="line"><a name="l00922"></a><span class="lineno">  922</span>&#160;            <span class="keywordflow">return</span> <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a47d57493de829c91533d002059ae1200.html#a47d57493de829c91533d002059ae1200">clock</a>;</div>
<div class="line"><a name="l00923"></a><span class="lineno">  923</span>&#160;        }</div>
<div class="line"><a name="l00924"></a><span class="lineno">  924</span>&#160;</div>
<div class="line"><a name="l00928"></a><span class="lineno"><a class="line" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a0178449f9f095ef69bcb3e9a5e15084b.html#a0178449f9f095ef69bcb3e9a5e15084b">  928</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a0178449f9f095ef69bcb3e9a5e15084b.html#a0178449f9f095ef69bcb3e9a5e15084b">run</a>() {</div>
<div class="line"><a name="l00929"></a><span class="lineno">  929</span>&#160;            running = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00930"></a><span class="lineno">  930</span>&#160;        }</div>
<div class="line"><a name="l00931"></a><span class="lineno">  931</span>&#160;</div>
<div class="line"><a name="l00936"></a><span class="lineno"><a class="line" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_ab6ffd0604cc72ffaf292957cfa4207d4.html#ab6ffd0604cc72ffaf292957cfa4207d4">  936</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_ab6ffd0604cc72ffaf292957cfa4207d4.html#ab6ffd0604cc72ffaf292957cfa4207d4">walk</a>(<span class="keywordtype">int</span> n) {</div>
<div class="line"><a name="l00937"></a><span class="lineno">  937</span>&#160;            walkingSteps = n;</div>
<div class="line"><a name="l00938"></a><span class="lineno">  938</span>&#160;        }</div>
<div class="line"><a name="l00939"></a><span class="lineno">  939</span>&#160;</div>
<div class="line"><a name="l00943"></a><span class="lineno"><a class="line" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a63e0d06b7e29713dde0dc9604db28f74.html#a63e0d06b7e29713dde0dc9604db28f74">  943</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a63e0d06b7e29713dde0dc9604db28f74.html#a63e0d06b7e29713dde0dc9604db28f74">stop</a>() {</div>
<div class="line"><a name="l00944"></a><span class="lineno">  944</span>&#160;            running = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00945"></a><span class="lineno">  945</span>&#160;        }</div>
<div class="line"><a name="l00946"></a><span class="lineno">  946</span>&#160;</div>
<div class="line"><a name="l00950"></a><span class="lineno"><a class="line" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_aed591f05899b98fd9e4ad01836ad0a40.html#aed591f05899b98fd9e4ad01836ad0a40">  950</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_aed591f05899b98fd9e4ad01836ad0a40.html#aed591f05899b98fd9e4ad01836ad0a40">tick</a>() {</div>
<div class="line"><a name="l00951"></a><span class="lineno">  951</span>&#160;            <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_acc60dec23da774957a85362ed6d7448b.html#acc60dec23da774957a85362ed6d7448b">doTick</a>();</div>
<div class="line"><a name="l00952"></a><span class="lineno">  952</span>&#160;        }</div>
<div class="line"><a name="l00953"></a><span class="lineno">  953</span>&#160;</div>
<div class="line"><a name="l00954"></a><span class="lineno"><a class="line" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_acc60dec23da774957a85362ed6d7448b.html#acc60dec23da774957a85362ed6d7448b">  954</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_acc60dec23da774957a85362ed6d7448b.html#acc60dec23da774957a85362ed6d7448b">doTick</a>() {</div>
<div class="line"><a name="l00955"></a><span class="lineno">  955</span>&#160;            <span class="keywordflow">if</span> (DEBUG)</div>
<div class="line"><a name="l00956"></a><span class="lineno">  956</span>&#160;                <span class="keywordflow">if</span> ( running || walkingSteps &gt; 0 || !finishedInputs ) {</div>
<div class="line"><a name="l00957"></a><span class="lineno">  957</span>&#160;                    System.out.println(<span class="stringliteral">&quot;// doTick: &quot;</span></div>
<div class="line"><a name="l00958"></a><span class="lineno">  958</span>&#160;                            + <span class="stringliteral">&quot;walkingSteps &quot;</span> + walkingSteps</div>
<div class="line"><a name="l00959"></a><span class="lineno">  959</span>&#160;                            + <span class="stringliteral">&quot;, clock &quot;</span> + clock</div>
<div class="line"><a name="l00960"></a><span class="lineno">  960</span>&#160;                            + <span class="stringliteral">&quot;, getTimer &quot;</span> + <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a10e1e86d98e1a12f6652ab7452dc7954.html#a10e1e86d98e1a12f6652ab7452dc7954">getTimer</a>()</div>
<div class="line"><a name="l00961"></a><span class="lineno">  961</span>&#160;                            + <span class="stringliteral">&quot;\n//    memory.getExportStrings() &quot;</span> + memory.<a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a1a17565c7b06ca4ecc1ed57c3fce973f.html#a1a17565c7b06ca4ecc1ed57c3fce973f">getExportStrings</a>()</div>
<div class="line"><a name="l00962"></a><span class="lineno">  962</span>&#160;                            );</div>
<div class="line"><a name="l00963"></a><span class="lineno">  963</span>&#160;                    System.out.flush();</div>
<div class="line"><a name="l00964"></a><span class="lineno">  964</span>&#160;                }</div>
<div class="line"><a name="l00965"></a><span class="lineno">  965</span>&#160;              <span class="keywordflow">if</span> (walkingSteps == 0) {</div>
<div class="line"><a name="l00966"></a><span class="lineno">  966</span>&#160;                <span class="keywordtype">boolean</span> reasonerShouldRun = <span class="keyword">false</span>;</div>
<div class="line"><a name="l00967"></a><span class="lineno">  967</span>&#160;                <span class="keywordflow">for</span> (<a class="code" href="../../df/dd9/interfacenars_1_1io_1_1InputChannel.html">InputChannel</a> channelIn : inputChannels) {</div>
<div class="line"><a name="l00968"></a><span class="lineno">  968</span>&#160;                    reasonerShouldRun = reasonerShouldRun ||</div>
<div class="line"><a name="l00969"></a><span class="lineno">  969</span>&#160;                            channelIn.nextInput();</div>
<div class="line"><a name="l00970"></a><span class="lineno">  970</span>&#160;                }</div>
<div class="line"><a name="l00971"></a><span class="lineno">  971</span>&#160;                finishedInputs = ! reasonerShouldRun;</div>
<div class="line"><a name="l00972"></a><span class="lineno">  972</span>&#160;            }</div>
<div class="line"><a name="l00973"></a><span class="lineno">  973</span>&#160;            <span class="comment">// forward to output Channels</span></div>
<div class="line"><a name="l00974"></a><span class="lineno">  974</span>&#160;            List&lt;String&gt; output = memory.<a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a1a17565c7b06ca4ecc1ed57c3fce973f.html#a1a17565c7b06ca4ecc1ed57c3fce973f">getExportStrings</a>();</div>
<div class="line"><a name="l00975"></a><span class="lineno">  975</span>&#160;            <span class="keywordflow">if</span> (!output.isEmpty()) {</div>
<div class="line"><a name="l00976"></a><span class="lineno">  976</span>&#160;                <span class="keywordflow">for</span> (<a class="code" href="../../d2/d60/interfacenars_1_1io_1_1OutputChannel.html">OutputChannel</a> channelOut : outputChannels) {</div>
<div class="line"><a name="l00977"></a><span class="lineno">  977</span>&#160;                    channelOut.nextOutput(output);</div>
<div class="line"><a name="l00978"></a><span class="lineno">  978</span>&#160;                }</div>
<div class="line"><a name="l00979"></a><span class="lineno">  979</span>&#160;                output.clear(); <span class="comment">// this will trigger display the current value of timer in Memory.report()</span></div>
<div class="line"><a name="l00980"></a><span class="lineno">  980</span>&#160;            }</div>
<div class="line"><a name="l00981"></a><span class="lineno">  981</span>&#160;            <span class="keywordflow">if</span> (running || walkingSteps &gt; 0) {</div>
<div class="line"><a name="l00982"></a><span class="lineno">  982</span>&#160;                clock++;</div>
<div class="line"><a name="l00983"></a><span class="lineno">  983</span>&#160;                <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_ae96a4b7813aab698957a8be4668f8f82.html#ae96a4b7813aab698957a8be4668f8f82">tickTimer</a>();</div>
<div class="line"><a name="l00984"></a><span class="lineno">  984</span>&#160;                memory.<a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a49e2cbc8b78d535f4d69739886ee966a.html#a49e2cbc8b78d535f4d69739886ee966a">workCycle</a>(clock);</div>
<div class="line"><a name="l00985"></a><span class="lineno">  985</span>&#160;                <span class="keywordflow">if</span> (walkingSteps &gt; 0) {</div>
<div class="line"><a name="l00986"></a><span class="lineno">  986</span>&#160;                    walkingSteps--;</div>
<div class="line"><a name="l00987"></a><span class="lineno">  987</span>&#160;                }</div>
<div class="line"><a name="l00988"></a><span class="lineno">  988</span>&#160;            }</div>
<div class="line"><a name="l00989"></a><span class="lineno">  989</span>&#160;        }</div>
<div class="line"><a name="l00990"></a><span class="lineno">  990</span>&#160;</div>
<div class="line"><a name="l00992"></a><span class="lineno"><a class="line" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_af9ca62650d9cf6d2dfd82043cb92e19e.html#af9ca62650d9cf6d2dfd82043cb92e19e">  992</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">boolean</span> <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_af9ca62650d9cf6d2dfd82043cb92e19e.html#af9ca62650d9cf6d2dfd82043cb92e19e">isFinishedInputs</a>() {</div>
<div class="line"><a name="l00993"></a><span class="lineno">  993</span>&#160;            <span class="keywordflow">return</span> <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a1c380432b170513c7b396f16f2be7455.html#a1c380432b170513c7b396f16f2be7455">finishedInputs</a>;</div>
<div class="line"><a name="l00994"></a><span class="lineno">  994</span>&#160;        }</div>
<div class="line"><a name="l00995"></a><span class="lineno">  995</span>&#160;</div>
<div class="line"><a name="l01000"></a><span class="lineno"><a class="line" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a2f22be33d98b4366712ff91b93c2be8a.html#a2f22be33d98b4366712ff91b93c2be8a"> 1000</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a2f22be33d98b4366712ff91b93c2be8a.html#a2f22be33d98b4366712ff91b93c2be8a">textInputLine</a>(String text) {</div>
<div class="line"><a name="l01001"></a><span class="lineno"> 1001</span>&#160;            <span class="keywordflow">if</span> (!text.isEmpty()) {</div>
<div class="line"><a name="l01002"></a><span class="lineno"> 1002</span>&#160;                <span class="keywordtype">char</span> c = text.charAt(0);</div>
<div class="line"><a name="l01003"></a><span class="lineno"> 1003</span>&#160;                <span class="keywordflow">switch</span> (c) {</div>
<div class="line"><a name="l01004"></a><span class="lineno"> 1004</span>&#160;                    <span class="keywordflow">case</span> <a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols.html">Symbols</a>.<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols_a5eb6e55e05ec108b04cba52bfc05606e.html#a5eb6e55e05ec108b04cba52bfc05606e">RESET_MARK</a>:</div>
<div class="line"><a name="l01005"></a><span class="lineno"> 1005</span>&#160;                        <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_af9b0f156f3063b99421e768fa4a1e09c.html#af9b0f156f3063b99421e768fa4a1e09c">reset</a>();</div>
<div class="line"><a name="l01006"></a><span class="lineno"> 1006</span>&#160;                        memory.<a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a1a17565c7b06ca4ecc1ed57c3fce973f.html#a1a17565c7b06ca4ecc1ed57c3fce973f">getExportStrings</a>().add(text);</div>
<div class="line"><a name="l01007"></a><span class="lineno"> 1007</span>&#160;                        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l01008"></a><span class="lineno"> 1008</span>&#160;                    <span class="keywordflow">case</span> <a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols.html">Symbols</a>.<a class="code" href="../../dc/d71/classnars_1_1io_1_1Symbols_a47730a5d7d9ab257452f5ed89c32e8ba.html#a47730a5d7d9ab257452f5ed89c32e8ba">COMMENT_MARK</a>:</div>
<div class="line"><a name="l01009"></a><span class="lineno"> 1009</span>&#160;                        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l01010"></a><span class="lineno"> 1010</span>&#160;                    <span class="keywordflow">default</span>:</div>
<div class="line"><a name="l01011"></a><span class="lineno"> 1011</span>&#160;                        <span class="comment">// read NARS language or an integer : TODO duplicated code</span></div>
<div class="line"><a name="l01012"></a><span class="lineno"> 1012</span>&#160;                        <span class="keywordflow">try</span> {</div>
<div class="line"><a name="l01013"></a><span class="lineno"> 1013</span>&#160;                            <span class="keywordtype">int</span> i = Integer.parseInt(text);</div>
<div class="line"><a name="l01014"></a><span class="lineno"> 1014</span>&#160;                            <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_ab6ffd0604cc72ffaf292957cfa4207d4.html#ab6ffd0604cc72ffaf292957cfa4207d4">walk</a>(i);</div>
<div class="line"><a name="l01015"></a><span class="lineno"> 1015</span>&#160;                        } <span class="keywordflow">catch</span> (NumberFormatException e) {</div>
<div class="line"><a name="l01016"></a><span class="lineno"> 1016</span>&#160;                            <a class="code" href="../../dc/ddc/classnars_1_1entity_1_1Task.html">Task</a> task = <a class="code" href="../../d3/dca/classnars_1_1io_1_1StringParser.html">StringParser</a>.<a class="code" href="../../d3/dca/classnars_1_1io_1_1StringParser_a37ff864d959aba58138170a3f9a3e7c8.html#a37ff864d959aba58138170a3f9a3e7c8">parseExperience</a>(<span class="keyword">new</span> StringBuffer(text), memory, clock);</div>
<div class="line"><a name="l01017"></a><span class="lineno"> 1017</span>&#160;                            <span class="keywordflow">if</span> (task != null) {</div>
<div class="line"><a name="l01018"></a><span class="lineno"> 1018</span>&#160;                                memory.<a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_aced4c4f51d46fb7046111aac85deffdc.html#aced4c4f51d46fb7046111aac85deffdc">inputTask</a>(task);</div>
<div class="line"><a name="l01019"></a><span class="lineno"> 1019</span>&#160;                            }</div>
<div class="line"><a name="l01020"></a><span class="lineno"> 1020</span>&#160;                        }</div>
<div class="line"><a name="l01021"></a><span class="lineno"> 1021</span>&#160;                        <span class="keywordflow">break</span>;</div>
<div class="line"><a name="l01022"></a><span class="lineno"> 1022</span>&#160;                }</div>
<div class="line"><a name="l01023"></a><span class="lineno"> 1023</span>&#160;            }</div>
<div class="line"><a name="l01024"></a><span class="lineno"> 1024</span>&#160;        }</div>
<div class="line"><a name="l01025"></a><span class="lineno"> 1025</span>&#160;</div>
<div class="line"><a name="l01026"></a><span class="lineno"> 1026</span>&#160;        @Override</div>
<div class="line"><a name="l01027"></a><span class="lineno"><a class="line" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_abe0a305225a0a868b474a76e08cea4b3.html#abe0a305225a0a868b474a76e08cea4b3"> 1027</a></span>&#160;        <span class="keyword">public</span> String <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_abe0a305225a0a868b474a76e08cea4b3.html#abe0a305225a0a868b474a76e08cea4b3">toString</a>() {</div>
<div class="line"><a name="l01028"></a><span class="lineno"> 1028</span>&#160;            <span class="keywordflow">return</span> memory.<a class="code" href="../../d8/df4/classnars_1_1storage_1_1Memory_a1233dbd1131192889bae177fc57f4113.html#a1233dbd1131192889bae177fc57f4113">toString</a>();</div>
<div class="line"><a name="l01029"></a><span class="lineno"> 1029</span>&#160;        }</div>
<div class="line"><a name="l01030"></a><span class="lineno"> 1030</span>&#160;</div>
<div class="line"><a name="l01032"></a><span class="lineno"><a class="line" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a482c1432496bcae846033c7ef917edb7.html#a482c1432496bcae846033c7ef917edb7"> 1032</a></span>&#160;        <span class="keyword">public</span> AtomicInteger <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a482c1432496bcae846033c7ef917edb7.html#a482c1432496bcae846033c7ef917edb7">getSilenceValue</a>() {</div>
<div class="line"><a name="l01033"></a><span class="lineno"> 1033</span>&#160;            <span class="keywordflow">return</span> <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_af63d9ef52a3562ea61add6aebf5a3db0.html#af63d9ef52a3562ea61add6aebf5a3db0">silenceValue</a>;</div>
<div class="line"><a name="l01034"></a><span class="lineno"> 1034</span>&#160;        }</div>
<div class="line"><a name="l01035"></a><span class="lineno"> 1035</span>&#160;</div>
<div class="line"><a name="l01041"></a><span class="lineno"><a class="line" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_ad567a9256ef8674e839ed6fe62664987.html#ad567a9256ef8674e839ed6fe62664987"> 1041</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">long</span> <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_ad567a9256ef8674e839ed6fe62664987.html#ad567a9256ef8674e839ed6fe62664987">updateTimer</a>() {</div>
<div class="line"><a name="l01042"></a><span class="lineno"> 1042</span>&#160;            <span class="keywordtype">long</span> i = <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a10e1e86d98e1a12f6652ab7452dc7954.html#a10e1e86d98e1a12f6652ab7452dc7954">getTimer</a>();</div>
<div class="line"><a name="l01043"></a><span class="lineno"> 1043</span>&#160;            <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_af29e66c0813aeea26cc4afea9735473e.html#af29e66c0813aeea26cc4afea9735473e">initTimer</a>();</div>
<div class="line"><a name="l01044"></a><span class="lineno"> 1044</span>&#160;            <span class="keywordflow">return</span> i;</div>
<div class="line"><a name="l01045"></a><span class="lineno"> 1045</span>&#160;        }</div>
<div class="line"><a name="l01046"></a><span class="lineno"> 1046</span>&#160;</div>
<div class="line"><a name="l01047"></a><span class="lineno"><a class="line" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_af29e66c0813aeea26cc4afea9735473e.html#af29e66c0813aeea26cc4afea9735473e"> 1047</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_af29e66c0813aeea26cc4afea9735473e.html#af29e66c0813aeea26cc4afea9735473e">initTimer</a>() {</div>
<div class="line"><a name="l01048"></a><span class="lineno"> 1048</span>&#160;            <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a364bf53ee103367ae0518803bc746bc2.html#a364bf53ee103367ae0518803bc746bc2">setTimer</a>(0);</div>
<div class="line"><a name="l01049"></a><span class="lineno"> 1049</span>&#160;        }</div>
<div class="line"><a name="l01050"></a><span class="lineno"> 1050</span>&#160;</div>
<div class="line"><a name="l01052"></a><span class="lineno"><a class="line" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_ae96a4b7813aab698957a8be4668f8f82.html#ae96a4b7813aab698957a8be4668f8f82"> 1052</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">void</span> <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_ae96a4b7813aab698957a8be4668f8f82.html#ae96a4b7813aab698957a8be4668f8f82">tickTimer</a>() {</div>
<div class="line"><a name="l01053"></a><span class="lineno"> 1053</span>&#160;            <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a364bf53ee103367ae0518803bc746bc2.html#a364bf53ee103367ae0518803bc746bc2">setTimer</a>(<a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a10e1e86d98e1a12f6652ab7452dc7954.html#a10e1e86d98e1a12f6652ab7452dc7954">getTimer</a>() + 1);</div>
<div class="line"><a name="l01054"></a><span class="lineno"> 1054</span>&#160;        }</div>
<div class="line"><a name="l01055"></a><span class="lineno"> 1055</span>&#160;</div>
<div class="line"><a name="l01056"></a><span class="lineno"><a class="line" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a10e1e86d98e1a12f6652ab7452dc7954.html#a10e1e86d98e1a12f6652ab7452dc7954"> 1056</a></span>&#160;        <span class="keyword">public</span> <span class="keywordtype">long</span> <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a10e1e86d98e1a12f6652ab7452dc7954.html#a10e1e86d98e1a12f6652ab7452dc7954">getTimer</a>() {</div>
<div class="line"><a name="l01057"></a><span class="lineno"> 1057</span>&#160;            <span class="keywordflow">return</span> <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a7301ea26f8957e467159aad6794f3ea1.html#a7301ea26f8957e467159aad6794f3ea1">timer</a>;</div>
<div class="line"><a name="l01058"></a><span class="lineno"> 1058</span>&#160;        }</div>
<div class="line"><a name="l01059"></a><span class="lineno"> 1059</span>&#160;</div>
<div class="line"><a name="l01060"></a><span class="lineno"><a class="line" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a364bf53ee103367ae0518803bc746bc2.html#a364bf53ee103367ae0518803bc746bc2"> 1060</a></span>&#160;        <span class="keyword">private</span> <span class="keywordtype">void</span> <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a364bf53ee103367ae0518803bc746bc2.html#a364bf53ee103367ae0518803bc746bc2">setTimer</a>(<span class="keywordtype">long</span> timer) {</div>
<div class="line"><a name="l01061"></a><span class="lineno"> 1061</span>&#160;            this.timer = <a class="code" href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a7301ea26f8957e467159aad6794f3ea1.html#a7301ea26f8957e467159aad6794f3ea1">timer</a>;</div>
<div class="line"><a name="l01062"></a><span class="lineno"> 1062</span>&#160;        }</div>
<div class="line"><a name="l01063"></a><span class="lineno"> 1063</span>&#160;</div>
<div class="line"><a name="l01064"></a><span class="lineno"> 1064</span>&#160;    }</div>
<div class="line"><a name="l01065"></a><span class="lineno"> 1065</span>&#160;</div>
<div class="line"><a name="l01069"></a><span class="lineno"><a class="line" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters.html"> 1069</a></span>&#160;    <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">class </span><a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters.html">Parameters</a> {</div>
<div class="line"><a name="l01070"></a><span class="lineno"> 1070</span>&#160;</div>
<div class="line"><a name="l01071"></a><span class="lineno"> 1071</span>&#160;        <span class="comment">/* ---------- initial values of run-time adjustable parameters ---------- */</span></div>
<div class="line"><a name="l01073"></a><span class="lineno"><a class="line" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a6d8b507fed91cfbc98b65b335ee77986.html#a6d8b507fed91cfbc98b65b335ee77986"> 1073</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">final</span> <span class="keywordtype">int</span> <a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a6d8b507fed91cfbc98b65b335ee77986.html#a6d8b507fed91cfbc98b65b335ee77986">CONCEPT_FORGETTING_CYCLE</a> = 15;</div>
<div class="line"><a name="l01075"></a><span class="lineno"><a class="line" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a1b397bff8cb94f89b61d34d93be47cad.html#a1b397bff8cb94f89b61d34d93be47cad"> 1075</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">final</span> <span class="keywordtype">int</span> <a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a1b397bff8cb94f89b61d34d93be47cad.html#a1b397bff8cb94f89b61d34d93be47cad">TASK_LINK_FORGETTING_CYCLE</a> = 20;</div>
<div class="line"><a name="l01077"></a><span class="lineno"><a class="line" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a842feca090255c91abbdbfb8a8b5a973.html#a842feca090255c91abbdbfb8a8b5a973"> 1077</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">final</span> <span class="keywordtype">int</span> <a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a842feca090255c91abbdbfb8a8b5a973.html#a842feca090255c91abbdbfb8a8b5a973">TERM_LINK_FORGETTING_CYCLE</a> = 50;</div>
<div class="line"><a name="l01079"></a><span class="lineno"><a class="line" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a20cda9128cf27aa2d345c9081b7b3d9f.html#a20cda9128cf27aa2d345c9081b7b3d9f"> 1079</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">final</span> <span class="keywordtype">int</span> <a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a20cda9128cf27aa2d345c9081b7b3d9f.html#a20cda9128cf27aa2d345c9081b7b3d9f">SILENT_LEVEL</a> = 1;</div>
<div class="line"><a name="l01080"></a><span class="lineno"> 1080</span>&#160;</div>
<div class="line"><a name="l01081"></a><span class="lineno"> 1081</span>&#160;        <span class="comment">/* ---------- time management ---------- */</span></div>
<div class="line"><a name="l01083"></a><span class="lineno"><a class="line" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a87b22dd8d64f45231c78e6efa17be5f6.html#a87b22dd8d64f45231c78e6efa17be5f6"> 1083</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">final</span> <span class="keywordtype">int</span> <a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a87b22dd8d64f45231c78e6efa17be5f6.html#a87b22dd8d64f45231c78e6efa17be5f6">NEW_TASK_FORGETTING_CYCLE</a> = 1;</div>
<div class="line"><a name="l01085"></a><span class="lineno"><a class="line" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a456ed58abf68eba88ea45cbdf135efaa.html#a456ed58abf68eba88ea45cbdf135efaa"> 1085</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">final</span> <span class="keywordtype">int</span> <a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a456ed58abf68eba88ea45cbdf135efaa.html#a456ed58abf68eba88ea45cbdf135efaa">MAX_MATCHED_TERM_LINK</a> = 10;</div>
<div class="line"><a name="l01087"></a><span class="lineno"><a class="line" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a73b48af1550865dbcc0f15c4f0ad891f.html#a73b48af1550865dbcc0f15c4f0ad891f"> 1087</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">final</span> <span class="keywordtype">int</span> <a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a73b48af1550865dbcc0f15c4f0ad891f.html#a73b48af1550865dbcc0f15c4f0ad891f">MAX_REASONED_TERM_LINK</a> = 3;</div>
<div class="line"><a name="l01088"></a><span class="lineno"> 1088</span>&#160;</div>
<div class="line"><a name="l01089"></a><span class="lineno"> 1089</span>&#160;        <span class="comment">/* ---------- logical parameters ---------- */</span></div>
<div class="line"><a name="l01091"></a><span class="lineno"><a class="line" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a9d5ff7b62a81d8746ed92d7fb5b84736.html#a9d5ff7b62a81d8746ed92d7fb5b84736"> 1091</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">final</span> <span class="keywordtype">int</span> <a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a9d5ff7b62a81d8746ed92d7fb5b84736.html#a9d5ff7b62a81d8746ed92d7fb5b84736">HORIZON</a> = 1; <span class="comment">// or 2, can be float</span></div>
<div class="line"><a name="l01093"></a><span class="lineno"><a class="line" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_af1e0bb76b0926a7f851df81c9f99af7f.html#af1e0bb76b0926a7f851df81c9f99af7f"> 1093</a></span>&#160;<span class="comment"></span>        <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">final</span> <span class="keywordtype">float</span> <a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_af1e0bb76b0926a7f851df81c9f99af7f.html#af1e0bb76b0926a7f851df81c9f99af7f">RELIANCE</a> = (float) 1.0; <span class="comment">// the same as default</span></div>
<div class="line"><a name="l01094"></a><span class="lineno"> 1094</span>&#160;                                                            <span class="comment">// confidence?</span></div>
<div class="line"><a name="l01095"></a><span class="lineno"> 1095</span>&#160;</div>
<div class="line"><a name="l01096"></a><span class="lineno"> 1096</span>&#160;        <span class="comment">/* ---------- budget thresholds ---------- */</span></div>
<div class="line"><a name="l01098"></a><span class="lineno"><a class="line" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_afd449c49d1181b89c64e84f7a1b742a9.html#afd449c49d1181b89c64e84f7a1b742a9"> 1098</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">final</span> <span class="keywordtype">float</span> <a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_afd449c49d1181b89c64e84f7a1b742a9.html#afd449c49d1181b89c64e84f7a1b742a9">BUDGET_THRESHOLD</a> = (float) 0.1;</div>
<div class="line"><a name="l01099"></a><span class="lineno"> 1099</span>&#160;</div>
<div class="line"><a name="l01100"></a><span class="lineno"> 1100</span>&#160;        <span class="comment">/* ---------- default input values ---------- */</span></div>
<div class="line"><a name="l01102"></a><span class="lineno"><a class="line" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a5ac2f336b86aec2157bb2ec1e54fab24.html#a5ac2f336b86aec2157bb2ec1e54fab24"> 1102</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">final</span> <span class="keywordtype">float</span> <a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a5ac2f336b86aec2157bb2ec1e54fab24.html#a5ac2f336b86aec2157bb2ec1e54fab24">DEFAULT_CONFIRMATION_EXPECTATION</a> = (float) 0.8;</div>
<div class="line"><a name="l01104"></a><span class="lineno"><a class="line" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a6104cc62b1c0487b31898a8600771fb1.html#a6104cc62b1c0487b31898a8600771fb1"> 1104</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">final</span> <span class="keywordtype">float</span> <a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a6104cc62b1c0487b31898a8600771fb1.html#a6104cc62b1c0487b31898a8600771fb1">DEFAULT_CREATION_EXPECTATION</a> = (float) 0.66;</div>
<div class="line"><a name="l01106"></a><span class="lineno"><a class="line" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a9b02deb2e403b931a0809a14c1754ae1.html#a9b02deb2e403b931a0809a14c1754ae1"> 1106</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">final</span> <span class="keywordtype">float</span> <a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a9b02deb2e403b931a0809a14c1754ae1.html#a9b02deb2e403b931a0809a14c1754ae1">DEFAULT_JUDGMENT_CONFIDENCE</a> = (float) 0.9;</div>
<div class="line"><a name="l01108"></a><span class="lineno"><a class="line" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a19b3ac0c78139a1e780b01c9aeaebb24.html#a19b3ac0c78139a1e780b01c9aeaebb24"> 1108</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">final</span> <span class="keywordtype">float</span> <a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a19b3ac0c78139a1e780b01c9aeaebb24.html#a19b3ac0c78139a1e780b01c9aeaebb24">DEFAULT_JUDGMENT_PRIORITY</a> = (float) 0.8;</div>
<div class="line"><a name="l01110"></a><span class="lineno"><a class="line" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a0e475172e99cbaf68ced7ec12e39fa52.html#a0e475172e99cbaf68ced7ec12e39fa52"> 1110</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">final</span> <span class="keywordtype">float</span> <a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a0e475172e99cbaf68ced7ec12e39fa52.html#a0e475172e99cbaf68ced7ec12e39fa52">DEFAULT_JUDGMENT_DURABILITY</a> = (float) 0.8;</div>
<div class="line"><a name="l01112"></a><span class="lineno"><a class="line" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a8baa6ec51e3c1b2be699ce7010edbd72.html#a8baa6ec51e3c1b2be699ce7010edbd72"> 1112</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">final</span> <span class="keywordtype">float</span> <a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a8baa6ec51e3c1b2be699ce7010edbd72.html#a8baa6ec51e3c1b2be699ce7010edbd72">DEFAULT_QUESTION_PRIORITY</a> = (float) 0.9;</div>
<div class="line"><a name="l01114"></a><span class="lineno"><a class="line" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_acbc0d248cbd19cca521940073d596846.html#acbc0d248cbd19cca521940073d596846"> 1114</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">final</span> <span class="keywordtype">float</span> <a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_acbc0d248cbd19cca521940073d596846.html#acbc0d248cbd19cca521940073d596846">DEFAULT_QUESTION_DURABILITY</a> = (float) 0.7;</div>
<div class="line"><a name="l01115"></a><span class="lineno"> 1115</span>&#160;</div>
<div class="line"><a name="l01116"></a><span class="lineno"> 1116</span>&#160;        <span class="comment">/* ---------- space management ---------- */</span></div>
<div class="line"><a name="l01118"></a><span class="lineno"><a class="line" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a7d6b692d645959699544c3e2ad24f131.html#a7d6b692d645959699544c3e2ad24f131"> 1118</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">final</span> <span class="keywordtype">int</span> <a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a7d6b692d645959699544c3e2ad24f131.html#a7d6b692d645959699544c3e2ad24f131">BAG_LEVEL</a> = 100;</div>
<div class="line"><a name="l01123"></a><span class="lineno"><a class="line" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_ac515bf0ca3d2fa633b0e2b39c19f7048.html#ac515bf0ca3d2fa633b0e2b39c19f7048"> 1123</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">final</span> <span class="keywordtype">int</span> <a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_ac515bf0ca3d2fa633b0e2b39c19f7048.html#ac515bf0ca3d2fa633b0e2b39c19f7048">BAG_THRESHOLD</a> = 10;</div>
<div class="line"><a name="l01125"></a><span class="lineno"><a class="line" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_ad429788f2e96ef25b2bdadbaaa17ba9b.html#ad429788f2e96ef25b2bdadbaaa17ba9b"> 1125</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">final</span> <span class="keywordtype">float</span> <a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_ad429788f2e96ef25b2bdadbaaa17ba9b.html#ad429788f2e96ef25b2bdadbaaa17ba9b">LOAD_FACTOR</a> = (float) 0.5;</div>
<div class="line"><a name="l01127"></a><span class="lineno"><a class="line" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a8dbe7dbe4cd91643fa3892e5c4e94f66.html#a8dbe7dbe4cd91643fa3892e5c4e94f66"> 1127</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">final</span> <span class="keywordtype">int</span> <a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a8dbe7dbe4cd91643fa3892e5c4e94f66.html#a8dbe7dbe4cd91643fa3892e5c4e94f66">CONCEPT_BAG_SIZE</a> = 1000;</div>
<div class="line"><a name="l01129"></a><span class="lineno"><a class="line" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a630bc52e3f64f122704392a39ba48e79.html#a630bc52e3f64f122704392a39ba48e79"> 1129</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">final</span> <span class="keywordtype">int</span> <a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a630bc52e3f64f122704392a39ba48e79.html#a630bc52e3f64f122704392a39ba48e79">TASK_LINK_BAG_SIZE</a> = 20;</div>
<div class="line"><a name="l01131"></a><span class="lineno"><a class="line" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a1e990f8300e2ef5c61b294913c06ddeb.html#a1e990f8300e2ef5c61b294913c06ddeb"> 1131</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">final</span> <span class="keywordtype">int</span> <a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a1e990f8300e2ef5c61b294913c06ddeb.html#a1e990f8300e2ef5c61b294913c06ddeb">TERM_LINK_BAG_SIZE</a> = 100;</div>
<div class="line"><a name="l01133"></a><span class="lineno"><a class="line" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_af6a94590cb6e649624fb81a9ebc66e04.html#af6a94590cb6e649624fb81a9ebc66e04"> 1133</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">final</span> <span class="keywordtype">int</span> <a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_af6a94590cb6e649624fb81a9ebc66e04.html#af6a94590cb6e649624fb81a9ebc66e04">TASK_BUFFER_SIZE</a> = 20;</div>
<div class="line"><a name="l01134"></a><span class="lineno"> 1134</span>&#160;</div>
<div class="line"><a name="l01135"></a><span class="lineno"> 1135</span>&#160;        <span class="comment">/* ---------- avoiding repeated reasoning ---------- */</span></div>
<div class="line"><a name="l01137"></a><span class="lineno"><a class="line" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a00681c48812b09ea469bc16bee7b1e5f.html#a00681c48812b09ea469bc16bee7b1e5f"> 1137</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">final</span> <span class="keywordtype">int</span> <a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a00681c48812b09ea469bc16bee7b1e5f.html#a00681c48812b09ea469bc16bee7b1e5f">MAXIMUM_STAMP_LENGTH</a> = 8;</div>
<div class="line"><a name="l01139"></a><span class="lineno"><a class="line" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a320a24f2b4d275599b5a675f81af52d1.html#a320a24f2b4d275599b5a675f81af52d1"> 1139</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">final</span> <span class="keywordtype">int</span> <a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a320a24f2b4d275599b5a675f81af52d1.html#a320a24f2b4d275599b5a675f81af52d1">TERM_LINK_RECORD_LENGTH</a> = 10;</div>
<div class="line"><a name="l01141"></a><span class="lineno"><a class="line" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a99c4a4dd667b5cf604c0b2be1352c29e.html#a99c4a4dd667b5cf604c0b2be1352c29e"> 1141</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">final</span> <span class="keywordtype">int</span> <a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a99c4a4dd667b5cf604c0b2be1352c29e.html#a99c4a4dd667b5cf604c0b2be1352c29e">MAXIMUM_BELIEF_LENGTH</a> = 7;</div>
<div class="line"><a name="l01143"></a><span class="lineno"><a class="line" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a78a685447aedc396f4dbe6cd2748b8e8.html#a78a685447aedc396f4dbe6cd2748b8e8"> 1143</a></span>&#160;        <span class="keyword">public</span> <span class="keyword">static</span> <span class="keyword">final</span> <span class="keywordtype">int</span> <a class="code" href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a78a685447aedc396f4dbe6cd2748b8e8.html#a78a685447aedc396f4dbe6cd2748b8e8">MAXIMUM_QUESTIONS_LENGTH</a> = 5;</div>
<div class="line"><a name="l01144"></a><span class="lineno"> 1144</span>&#160;    }</div>
<div class="line"><a name="l01145"></a><span class="lineno"> 1145</span>&#160;}</div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a45ce7474ab42caf966322af667060930_html_a45ce7474ab42caf966322af667060930"><div class="ttname"><a href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a45ce7474ab42caf966322af667060930.html#a45ce7474ab42caf966322af667060930">nars.storage.Memory.ReasonerBatch.inputChannels</a></div><div class="ttdeci">List&lt; InputChannel &gt; inputChannels</div><div class="ttdoc">The input channels of the reasoner. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00861">Memory.java:861</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a04e47e2e73b2ba3d204c59443f4b28ca_html_a04e47e2e73b2ba3d204c59443f4b28ca"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a04e47e2e73b2ba3d204c59443f4b28ca.html#a04e47e2e73b2ba3d204c59443f4b28ca">nars.storage.Memory.currentConcept</a></div><div class="ttdeci">Concept currentConcept</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00067">Memory.java:67</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Item_a54fc0a370b847dd77c0a698c765e6e55_html_a54fc0a370b847dd77c0a698c765e6e55"><div class="ttname"><a href="../../d1/dd1/classnars_1_1entity_1_1Item_a54fc0a370b847dd77c0a698c765e6e55.html#a54fc0a370b847dd77c0a698c765e6e55">nars.entity.Item.getBudget</a></div><div class="ttdeci">BudgetValue getBudget()</div><div class="ttdoc">Get BudgetValue. </div><div class="ttdef"><b>Definition:</b> <a href="../../d9/de0/Item_8java_source.html#l00082">Item.java:82</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1NARSBatch_ae4dd59b40d930a3e087c7bbfaabaa401_html_ae4dd59b40d930a3e087c7bbfaabaa401"><div class="ttname"><a href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_ae4dd59b40d930a3e087c7bbfaabaa401.html#ae4dd59b40d930a3e087c7bbfaabaa401">nars.storage.Memory.NARSBatch.getReasoner</a></div><div class="ttdeci">ReasonerBatch getReasoner()</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00827">Memory.java:827</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_a9f69b4fef64c81abad21404946cd41f9_html_a9f69b4fef64c81abad21404946cd41f9"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence_a9f69b4fef64c81abad21404946cd41f9.html#a9f69b4fef64c81abad21404946cd41f9">nars.entity.Sentence.getTruth</a></div><div class="ttdeci">TruthValue getTruth()</div><div class="ttdoc">Get the truth value of the sentence. </div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00165">Sentence.java:165</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1Term_a3aad4654016b8615fd4fa8a26668e1db_html_a3aad4654016b8615fd4fa8a26668e1db"><div class="ttname"><a href="../../d8/db8/classnars_1_1language_1_1Term_a3aad4654016b8615fd4fa8a26668e1db.html#a3aad4654016b8615fd4fa8a26668e1db">nars.language.Term.getName</a></div><div class="ttdeci">String getName()</div><div class="ttdoc">Reporting the name of the current Term. </div><div class="ttdef"><b>Definition:</b> <a href="../../d8/df2/Term_8java_source.html#l00068">Term.java:68</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a481aa9117eaaf8fb057ff76f16481cb6_html_a481aa9117eaaf8fb057ff76f16481cb6"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a481aa9117eaaf8fb057ff76f16481cb6.html#a481aa9117eaaf8fb057ff76f16481cb6">nars.storage.Memory.reasoner</a></div><div class="ttdeci">ReasonerBatch reasoner</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00053">Memory.java:53</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_aa15a4cd104018dc9b98ceaa12d54255d_html_aa15a4cd104018dc9b98ceaa12d54255d"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_aa15a4cd104018dc9b98ceaa12d54255d.html#aa15a4cd104018dc9b98ceaa12d54255d">nars.storage.Memory.getNovelTasks</a></div><div class="ttdeci">NovelTaskBag getNovelTasks()</div><div class="ttdoc">New tasks with novel composed terms, for delayed and selective processing. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00553">Memory.java:553</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a47d57493de829c91533d002059ae1200_html_a47d57493de829c91533d002059ae1200"><div class="ttname"><a href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a47d57493de829c91533d002059ae1200.html#a47d57493de829c91533d002059ae1200">nars.storage.Memory.ReasonerBatch.clock</a></div><div class="ttdeci">long clock</div><div class="ttdoc">System clock, relatively defined to guarantee the repeatability of behaviors. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00865">Memory.java:865</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1Parameters_a8dbe7dbe4cd91643fa3892e5c4e94f66_html_a8dbe7dbe4cd91643fa3892e5c4e94f66"><div class="ttname"><a href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a8dbe7dbe4cd91643fa3892e5c4e94f66.html#a8dbe7dbe4cd91643fa3892e5c4e94f66">nars.storage.Memory.Parameters.CONCEPT_BAG_SIZE</a></div><div class="ttdeci">static final int CONCEPT_BAG_SIZE</div><div class="ttdoc">Size of ConceptBag. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l01127">Memory.java:1127</a></div></div>
<div class="ttc" id="namespacenars_1_1main__nogui_html"><div class="ttname"><a href="../../d7/dfa/namespacenars_1_1main__nogui.html">nars.main_nogui</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d0/dc4/CommandLineParameters_8java_source.html#l00001">CommandLineParameters.java:1</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Bag_a4f481c434a5a4ac0004138ba81fd426f_html_a4f481c434a5a4ac0004138ba81fd426f"><div class="ttname"><a href="../../d9/d37/classnars_1_1storage_1_1Bag_a4f481c434a5a4ac0004138ba81fd426f.html#a4f481c434a5a4ac0004138ba81fd426f">nars.storage.Bag.init</a></div><div class="ttdeci">void init()</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dce/Bag_8java_source.html#l00091">Bag.java:91</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1Parameters_af1e0bb76b0926a7f851df81c9f99af7f_html_af1e0bb76b0926a7f851df81c9f99af7f"><div class="ttname"><a href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_af1e0bb76b0926a7f851df81c9f99af7f.html#af1e0bb76b0926a7f851df81c9f99af7f">nars.storage.Memory.Parameters.RELIANCE</a></div><div class="ttdeci">static final float RELIANCE</div><div class="ttdoc">Reliance factor, the empirical confidence of analytical truth. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l01093">Memory.java:1093</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_ad5a9d6afc56ea914b0c5537117ebe8b9_html_ad5a9d6afc56ea914b0c5537117ebe8b9"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_ad5a9d6afc56ea914b0c5537117ebe8b9.html#ad5a9d6afc56ea914b0c5537117ebe8b9">nars.storage.Memory.recorder</a></div><div class="ttdeci">IInferenceRecorder recorder</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00058">Memory.java:58</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a7301ea26f8957e467159aad6794f3ea1_html_a7301ea26f8957e467159aad6794f3ea1"><div class="ttname"><a href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a7301ea26f8957e467159aad6794f3ea1.html#a7301ea26f8957e467159aad6794f3ea1">nars.storage.Memory.ReasonerBatch.timer</a></div><div class="ttdeci">long timer</div><div class="ttdoc">System clock - number of cycles since last output. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00874">Memory.java:874</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1ReasonerBatch_aed591f05899b98fd9e4ad01836ad0a40_html_aed591f05899b98fd9e4ad01836ad0a40"><div class="ttname"><a href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_aed591f05899b98fd9e4ad01836ad0a40.html#aed591f05899b98fd9e4ad01836ad0a40">nars.storage.Memory.ReasonerBatch.tick</a></div><div class="ttdeci">void tick()</div><div class="ttdoc">A clock tick. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00950">Memory.java:950</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_af690db9813be4c0dafac14c1ca9d79e1_html_af690db9813be4c0dafac14c1ca9d79e1"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_af690db9813be4c0dafac14c1ca9d79e1.html#af690db9813be4c0dafac14c1ca9d79e1">nars.storage.Memory.getBeliefForgettingRate</a></div><div class="ttdeci">AtomicInteger getBeliefForgettingRate()</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00520">Memory.java:520</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a122409cb4dd642e850d6f1e37fa0a93d_html_a122409cb4dd642e850d6f1e37fa0a93d"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a122409cb4dd642e850d6f1e37fa0a93d.html#a122409cb4dd642e850d6f1e37fa0a93d">nars.storage.Memory.novelTasks</a></div><div class="ttdeci">NovelTaskBag novelTasks</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00057">Memory.java:57</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_afba2a1153e78a534d4e3eaed5b0fab4b_html_afba2a1153e78a534d4e3eaed5b0fab4b"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_afba2a1153e78a534d4e3eaed5b0fab4b.html#afba2a1153e78a534d4e3eaed5b0fab4b">nars.storage.Memory.currentTaskLink</a></div><div class="ttdeci">TaskLink currentTaskLink</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00068">Memory.java:68</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1Parameters_a0e475172e99cbaf68ced7ec12e39fa52_html_a0e475172e99cbaf68ced7ec12e39fa52"><div class="ttname"><a href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a0e475172e99cbaf68ced7ec12e39fa52.html#a0e475172e99cbaf68ced7ec12e39fa52">nars.storage.Memory.Parameters.DEFAULT_JUDGMENT_DURABILITY</a></div><div class="ttdeci">static final float DEFAULT_JUDGMENT_DURABILITY</div><div class="ttdoc">Default durability of input judgment. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l01110">Memory.java:1110</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_af366ebf6ee22511021272241a397e54d_html_af366ebf6ee22511021272241a397e54d"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_af366ebf6ee22511021272241a397e54d.html#af366ebf6ee22511021272241a397e54d">nars.storage.Memory.setNewTasks</a></div><div class="ttdeci">void setNewTasks(List&lt; Task &gt; newTasks)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00581">Memory.java:581</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a1ececefca4f7e49be44e1d668c83d359_html_a1ececefca4f7e49be44e1d668c83d359"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a1ececefca4f7e49be44e1d668c83d359.html#a1ececefca4f7e49be44e1d668c83d359">nars.storage.Memory.setCurrentTaskLink</a></div><div class="ttdeci">void setCurrentTaskLink(TaskLink currentTaskLink)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00618">Memory.java:618</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a4d5bb127d41331debed26b54e406104d_html_a4d5bb127d41331debed26b54e406104d"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a4d5bb127d41331debed26b54e406104d.html#a4d5bb127d41331debed26b54e406104d">nars.storage.Memory.doublePremiseTask</a></div><div class="ttdeci">void doublePremiseTask(Term newContent, TruthValue newTruth, BudgetValue newBudget, boolean revisible)</div><div class="ttdoc">Shared final operations by all double-premise rules, called from the rules except StructuralRules...</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00297">Memory.java:297</a></div></div>
<div class="ttc" id="namespacenars_1_1entity_html"><div class="ttname"><a href="../../db/dec/namespacenars_1_1entity.html">nars.entity</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d8/d59/BudgetValue_8java_source.html#l00021">BudgetValue.java:21</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1NullInferenceRecorder_adbe6f439a15d417a5ef189ab8dafba07_html_adbe6f439a15d417a5ef189ab8dafba07"><div class="ttname"><a href="../../de/d27/classnars_1_1storage_1_1Memory_1_1NullInferenceRecorder_adbe6f439a15d417a5ef189ab8dafba07.html#adbe6f439a15d417a5ef189ab8dafba07">nars.storage.Memory.NullInferenceRecorder.isLogging</a></div><div class="ttdeci">boolean isLogging()</div><div class="ttdoc">Check file logging. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00709">Memory.java:709</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Bag_a775c0537431b865015facac73e698891_html_a775c0537431b865015facac73e698891"><div class="ttname"><a href="../../d9/d37/classnars_1_1storage_1_1Bag_a775c0537431b865015facac73e698891.html#a775c0537431b865015facac73e698891">nars.storage.Bag.takeOut</a></div><div class="ttdeci">Type takeOut()</div><div class="ttdoc">Choose an Item according to priority distribution and take it out of the Bag. </div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dce/Bag_8java_source.html#l00187">Bag.java:187</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1Parameters_a8baa6ec51e3c1b2be699ce7010edbd72_html_a8baa6ec51e3c1b2be699ce7010edbd72"><div class="ttname"><a href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a8baa6ec51e3c1b2be699ce7010edbd72.html#a8baa6ec51e3c1b2be699ce7010edbd72">nars.storage.Memory.Parameters.DEFAULT_QUESTION_PRIORITY</a></div><div class="ttdeci">static final float DEFAULT_QUESTION_PRIORITY</div><div class="ttdoc">Default priority of input question. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l01112">Memory.java:1112</a></div></div>
<div class="ttc" id="namespacenars_1_1io_html"><div class="ttname"><a href="../../db/d64/namespacenars_1_1io.html">nars.io</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d3/d26/ExperienceReader_8java_source.html#l00021">ExperienceReader.java:21</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_afb74806ef37665d392a86dce2e3c6546_html_afb74806ef37665d392a86dce2e3c6546"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_afb74806ef37665d392a86dce2e3c6546.html#afb74806ef37665d392a86dce2e3c6546">nars.storage.Memory.getCurrentBeliefLink</a></div><div class="ttdeci">TermLink getCurrentBeliefLink()</div><div class="ttdoc">The selected TermLink. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00636">Memory.java:636</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_aab8a6a5767c266a7e4e8c57d92b99871_html_aab8a6a5767c266a7e4e8c57d92b99871"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_aab8a6a5767c266a7e4e8c57d92b99871.html#aab8a6a5767c266a7e4e8c57d92b99871">nars.storage.Memory.conceptForgettingRate</a></div><div class="ttdeci">AtomicInteger conceptForgettingRate</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00061">Memory.java:61</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1ReasonerBatch_af9ca62650d9cf6d2dfd82043cb92e19e_html_af9ca62650d9cf6d2dfd82043cb92e19e"><div class="ttname"><a href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_af9ca62650d9cf6d2dfd82043cb92e19e.html#af9ca62650d9cf6d2dfd82043cb92e19e">nars.storage.Memory.ReasonerBatch.isFinishedInputs</a></div><div class="ttdeci">boolean isFinishedInputs()</div><div class="ttdoc">determines the end of NARSBatch program </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00992">Memory.java:992</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1ReasonerBatch_af821c09815f5900e4c227b2bc7a5107b_html_af821c09815f5900e4c227b2bc7a5107b"><div class="ttname"><a href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_af821c09815f5900e4c227b2bc7a5107b.html#af821c09815f5900e4c227b2bc7a5107b">nars.storage.Memory.ReasonerBatch.outputChannels</a></div><div class="ttdeci">List&lt; OutputChannel &gt; outputChannels</div><div class="ttdoc">The output channels of the reasoner. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00863">Memory.java:863</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1NARSBatch_a85e385223fd2613e3abad3401613a784_html_a85e385223fd2613e3abad3401613a784"><div class="ttname"><a href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a85e385223fd2613e3abad3401613a784.html#a85e385223fd2613e3abad3401613a784">nars.storage.Memory.NARSBatch.log</a></div><div class="ttdeci">void log(String mess)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00822">Memory.java:822</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1TermLink_html"><div class="ttname"><a href="../../d4/d8b/classnars_1_1entity_1_1TermLink.html">nars.entity.TermLink</a></div><div class="ttdoc">A link between a compound term and a component term. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/daa/TermLink_8java_source.html#l00038">TermLink.java:38</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1Parameters_a1b397bff8cb94f89b61d34d93be47cad_html_a1b397bff8cb94f89b61d34d93be47cad"><div class="ttname"><a href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a1b397bff8cb94f89b61d34d93be47cad.html#a1b397bff8cb94f89b61d34d93be47cad">nars.storage.Memory.Parameters.TASK_LINK_FORGETTING_CYCLE</a></div><div class="ttdeci">static final int TASK_LINK_FORGETTING_CYCLE</div><div class="ttdoc">TaskLink decay rate in TaskLinkBag, in [1, 99]. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l01075">Memory.java:1075</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a2f22be33d98b4366712ff91b93c2be8a_html_a2f22be33d98b4366712ff91b93c2be8a"><div class="ttname"><a href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a2f22be33d98b4366712ff91b93c2be8a.html#a2f22be33d98b4366712ff91b93c2be8a">nars.storage.Memory.ReasonerBatch.textInputLine</a></div><div class="ttdeci">void textInputLine(String text)</div><div class="ttdoc">To process a line of input text. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l01000">Memory.java:1000</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_aed4fff67fb986a938db98460a16dda2d_html_aed4fff67fb986a938db98460a16dda2d"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence_aed4fff67fb986a938db98460a16dda2d.html#aed4fff67fb986a938db98460a16dda2d">nars.entity.Sentence.toStringBrief</a></div><div class="ttdeci">String toStringBrief()</div><div class="ttdoc">Get a String representation of the sentence, with 2-digit accuracy. </div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00225">Sentence.java:225</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Item_html"><div class="ttname"><a href="../../d1/dd1/classnars_1_1entity_1_1Item.html">nars.entity.Item</a></div><div class="ttdoc">An item is an object that can be put into a Bag, to participate in the resource competition of the sy...</div><div class="ttdef"><b>Definition:</b> <a href="../../d9/de0/Item_8java_source.html#l00031">Item.java:31</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_html"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory.html">nars.storage.Memory</a></div><div class="ttdoc">The memory of the system. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00051">Memory.java:51</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a09af34150e8562d5c93170388c8804b7_html_a09af34150e8562d5c93170388c8804b7"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a09af34150e8562d5c93170388c8804b7.html#a09af34150e8562d5c93170388c8804b7">nars.storage.Memory.getNewStamp</a></div><div class="ttdeci">Stamp getNewStamp()</div><div class="ttdoc">The new Stamp. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00658">Memory.java:658</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1NARSBatch_aa045f3f6aa398413be7cb453df3da38a_html_aa045f3f6aa398413be7cb453df3da38a"><div class="ttname"><a href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_aa045f3f6aa398413be7cb453df3da38a.html#aa045f3f6aa398413be7cb453df3da38a">nars.storage.Memory.NARSBatch.setDumpLastState</a></div><div class="ttdeci">void setDumpLastState(boolean dumpLastState)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00848">Memory.java:848</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_afe3b4d1bb5fab652ceca53c04773af73_html_afe3b4d1bb5fab652ceca53c04773af73"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_afe3b4d1bb5fab652ceca53c04773af73.html#afe3b4d1bb5fab652ceca53c04773af73">nars.storage.Memory.processNovelTask</a></div><div class="ttdeci">void processNovelTask()</div><div class="ttdoc">Select a novel task to process. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00387">Memory.java:387</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_ab35f24f2e05fb428d36d7e86b5009cb2_html_ab35f24f2e05fb428d36d7e86b5009cb2"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_ab35f24f2e05fb428d36d7e86b5009cb2.html#ab35f24f2e05fb428d36d7e86b5009cb2">nars.storage.Memory.setConcepts</a></div><div class="ttdeci">void setConcepts(ConceptBag concepts)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00546">Memory.java:546</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a1f7d33641b5c944c9b9a26a69b01e4b6_html_a1f7d33641b5c944c9b9a26a69b01e4b6"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a1f7d33641b5c944c9b9a26a69b01e4b6.html#a1f7d33641b5c944c9b9a26a69b01e4b6">nars.storage.Memory.substitute</a></div><div class="ttdeci">HashMap&lt; Term, Term &gt; substitute</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00073">Memory.java:73</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1Parameters_html"><div class="ttname"><a href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters.html">nars.storage.Memory.Parameters</a></div><div class="ttdoc">Collected system parameters. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l01069">Memory.java:1069</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Concept_ae07576c8466ad65eeb61040e3f71cfc7_html_ae07576c8466ad65eeb61040e3f71cfc7"><div class="ttname"><a href="../../d4/d22/classnars_1_1entity_1_1Concept_ae07576c8466ad65eeb61040e3f71cfc7.html#ae07576c8466ad65eeb61040e3f71cfc7">nars.entity.Concept.fire</a></div><div class="ttdeci">void fire()</div><div class="ttdoc">An atomic step in a concept, only called in Memory# processConcept. </div><div class="ttdef"><b>Definition:</b> <a href="../../df/d62/Concept_8java_source.html#l00404">Concept.java:404</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_ac0ed749c50e55120d5b63219ed7eb082_html_ac0ed749c50e55120d5b63219ed7eb082"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence_ac0ed749c50e55120d5b63219ed7eb082.html#ac0ed749c50e55120d5b63219ed7eb082">nars.entity.Sentence.getStamp</a></div><div class="ttdeci">Stamp getStamp()</div><div class="ttdoc">Get the stamp of the sentence. </div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00173">Sentence.java:173</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1Parameters_a99c4a4dd667b5cf604c0b2be1352c29e_html_a99c4a4dd667b5cf604c0b2be1352c29e"><div class="ttname"><a href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a99c4a4dd667b5cf604c0b2be1352c29e.html#a99c4a4dd667b5cf604c0b2be1352c29e">nars.storage.Memory.Parameters.MAXIMUM_BELIEF_LENGTH</a></div><div class="ttdeci">static final int MAXIMUM_BELIEF_LENGTH</div><div class="ttdoc">Maximum number of beliefs kept in a Concept. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l01141">Memory.java:1141</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Bag_a64b0b75c54e6882a28702d7810094656_html_a64b0b75c54e6882a28702d7810094656"><div class="ttname"><a href="../../d9/d37/classnars_1_1storage_1_1Bag_a64b0b75c54e6882a28702d7810094656.html#a64b0b75c54e6882a28702d7810094656">nars.storage.Bag.putBack</a></div><div class="ttdeci">boolean putBack(Type oldItem)</div><div class="ttdoc">Put an item back into the itemTable. </div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dce/Bag_8java_source.html#l00178">Bag.java:178</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1ReasonerBatch_abf96ab76d60c3cc77e7644d3f08b79d5_html_abf96ab76d60c3cc77e7644d3f08b79d5"><div class="ttname"><a href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_abf96ab76d60c3cc77e7644d3f08b79d5.html#abf96ab76d60c3cc77e7644d3f08b79d5">nars.storage.Memory.ReasonerBatch.removeInputChannel</a></div><div class="ttdeci">void removeInputChannel(InputChannel channel)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00904">Memory.java:904</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_ae810a2e5d300b64d6aec58e1393a12cc_html_ae810a2e5d300b64d6aec58e1393a12cc"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_ae810a2e5d300b64d6aec58e1393a12cc.html#ae810a2e5d300b64d6aec58e1393a12cc">nars.storage.Memory.setCurrentTerm</a></div><div class="ttdeci">void setCurrentTerm(Term currentTerm)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00596">Memory.java:596</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1Parameters_a6d8b507fed91cfbc98b65b335ee77986_html_a6d8b507fed91cfbc98b65b335ee77986"><div class="ttname"><a href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a6d8b507fed91cfbc98b65b335ee77986.html#a6d8b507fed91cfbc98b65b335ee77986">nars.storage.Memory.Parameters.CONCEPT_FORGETTING_CYCLE</a></div><div class="ttdeci">static final int CONCEPT_FORGETTING_CYCLE</div><div class="ttdoc">Concept decay rate in ConceptBag, in [1, 99]. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l01073">Memory.java:1073</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a26eda4f00b333b706b4e3d069fdf1508_html_a26eda4f00b333b706b4e3d069fdf1508"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a26eda4f00b333b706b4e3d069fdf1508.html#a26eda4f00b333b706b4e3d069fdf1508">nars.storage.Memory.getCurrentTask</a></div><div class="ttdeci">Task getCurrentTask()</div><div class="ttdoc">The selected Task. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00625">Memory.java:625</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a82e17451a5291bbbaaaa92ef3ce5d830_html_a82e17451a5291bbbaaaa92ef3ce5d830"><div class="ttname"><a href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a82e17451a5291bbbaaaa92ef3ce5d830.html#a82e17451a5291bbbaaaa92ef3ce5d830">nars.storage.Memory.ReasonerBatch.ReasonerBatch</a></div><div class="ttdeci">ReasonerBatch()</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00878">Memory.java:878</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1Parameters_a7d6b692d645959699544c3e2ad24f131_html_a7d6b692d645959699544c3e2ad24f131"><div class="ttname"><a href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a7d6b692d645959699544c3e2ad24f131.html#a7d6b692d645959699544c3e2ad24f131">nars.storage.Memory.Parameters.BAG_LEVEL</a></div><div class="ttdeci">static final int BAG_LEVEL</div><div class="ttdoc">Level granularity in Bag, two digits. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l01118">Memory.java:1118</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1ExperienceReader_a9f3c8bc8f7309340a49f51ff680811dd_html_a9f3c8bc8f7309340a49f51ff680811dd"><div class="ttname"><a href="../../d7/d69/classnars_1_1io_1_1ExperienceReader_a9f3c8bc8f7309340a49f51ff680811dd.html#a9f3c8bc8f7309340a49f51ff680811dd">nars.io.ExperienceReader.openLoadFile</a></div><div class="ttdeci">void openLoadFile()</div><div class="ttdoc">Open an input experience file with a FileDialog. </div><div class="ttdef"><b>Definition:</b> <a href="../../d3/d26/ExperienceReader_8java_source.html#l00053">ExperienceReader.java:53</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_afeb33d4d2ca9e749ee7957713d1c993d_html_afeb33d4d2ca9e749ee7957713d1c993d"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_afeb33d4d2ca9e749ee7957713d1c993d.html#afeb33d4d2ca9e749ee7957713d1c993d">nars.storage.Memory.currentBelief</a></div><div class="ttdeci">Sentence currentBelief</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00071">Memory.java:71</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_ae57a195c3623dc9b8245d977adc94b4d_html_ae57a195c3623dc9b8245d977adc94b4d"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence_ae57a195c3623dc9b8245d977adc94b4d.html#ae57a195c3623dc9b8245d977adc94b4d">nars.entity.Sentence.getRevisible</a></div><div class="ttdeci">boolean getRevisible()</div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00197">Sentence.java:197</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_aec1106814819aa1c8437001c2c4bf1a3_html_aec1106814819aa1c8437001c2c4bf1a3"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_aec1106814819aa1c8437001c2c4bf1a3.html#aec1106814819aa1c8437001c2c4bf1a3">nars.storage.Memory.singlePremiseTask</a></div><div class="ttdeci">void singlePremiseTask(Term newContent, TruthValue newTruth, BudgetValue newBudget)</div><div class="ttdoc">Shared final operations by all single-premise rules, called in StructuralRules. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00314">Memory.java:314</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1ReasonerBatch_aaf7efb6a6732b702669e9548bdb3a243_html_aaf7efb6a6732b702669e9548bdb3a243"><div class="ttname"><a href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_aaf7efb6a6732b702669e9548bdb3a243.html#aaf7efb6a6732b702669e9548bdb3a243">nars.storage.Memory.ReasonerBatch.getTime</a></div><div class="ttdeci">long getTime()</div><div class="ttdoc">Get the current time from the clock Called in nars.entity.Stamp. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00921">Memory.java:921</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a49e2cbc8b78d535f4d69739886ee966a_html_a49e2cbc8b78d535f4d69739886ee966a"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a49e2cbc8b78d535f4d69739886ee966a.html#a49e2cbc8b78d535f4d69739886ee966a">nars.storage.Memory.workCycle</a></div><div class="ttdeci">void workCycle(long clock)</div><div class="ttdoc">An atomic working workCycle of the system: process new Tasks, then fire a concept. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00346">Memory.java:346</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1StringParser_html"><div class="ttname"><a href="../../d3/dca/classnars_1_1io_1_1StringParser.html">nars.io.StringParser</a></div><div class="ttdoc">Parse input String into Task or Term. </div><div class="ttdef"><b>Definition:</b> <a href="../../d7/dcd/StringParser_8java_source.html#l00036">StringParser.java:36</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1BudgetValue_ae83b822f3bab4c1831e94d72fc770f58_html_ae83b822f3bab4c1831e94d72fc770f58"><div class="ttname"><a href="../../db/d8e/classnars_1_1entity_1_1BudgetValue_ae83b822f3bab4c1831e94d72fc770f58.html#ae83b822f3bab4c1831e94d72fc770f58">nars.entity.BudgetValue.aboveThreshold</a></div><div class="ttdeci">boolean aboveThreshold()</div><div class="ttdoc">Whether the budget should get any processing at all. </div><div class="ttdef"><b>Definition:</b> <a href="../../d8/d59/BudgetValue_8java_source.html#l00198">BudgetValue.java:198</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Task_html"><div class="ttname"><a href="../../dc/ddc/classnars_1_1entity_1_1Task.html">nars.entity.Task</a></div><div class="ttdoc">A task to be processed, consists of a Sentence and a BudgetValue. </div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d10/Task_8java_source.html#l00035">Task.java:35</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1NovelTaskBag_html"><div class="ttname"><a href="../../d1/df2/classnars_1_1storage_1_1NovelTaskBag.html">nars.storage.NovelTaskBag</a></div><div class="ttdoc">New tasks that contain new Term. </div><div class="ttdef"><b>Definition:</b> <a href="../../d3/dbf/NovelTaskBag_8java_source.html#l00029">NovelTaskBag.java:29</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_ac64adce71654729811395e76e0217856_html_ac64adce71654729811395e76e0217856"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_ac64adce71654729811395e76e0217856.html#ac64adce71654729811395e76e0217856">nars.storage.Memory.toStringLongIfNotNull</a></div><div class="ttdeci">String toStringLongIfNotNull(Bag&lt;?&gt; item, String title)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00501">Memory.java:501</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_a5eb6e55e05ec108b04cba52bfc05606e_html_a5eb6e55e05ec108b04cba52bfc05606e"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols_a5eb6e55e05ec108b04cba52bfc05606e.html#a5eb6e55e05ec108b04cba52bfc05606e">nars.io.Symbols.RESET_MARK</a></div><div class="ttdeci">static final char RESET_MARK</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00083">Symbols.java:83</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_aa8d87fbd9fbd6229e88184fd23553778_html_aa8d87fbd9fbd6229e88184fd23553778"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_aa8d87fbd9fbd6229e88184fd23553778.html#aa8d87fbd9fbd6229e88184fd23553778">nars.storage.Memory.setNewStamp</a></div><div class="ttdeci">void setNewStamp(Stamp newStamp)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00662">Memory.java:662</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Bag_a61e1d32c91214e604ad392549bea1e7a_html_a61e1d32c91214e604ad392549bea1e7a"><div class="ttname"><a href="../../d9/d37/classnars_1_1storage_1_1Bag_a61e1d32c91214e604ad392549bea1e7a.html#a61e1d32c91214e604ad392549bea1e7a">nars.storage.Bag.refresh</a></div><div class="ttdeci">void refresh()</div><div class="ttdoc">Refresh display. </div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dce/Bag_8java_source.html#l00332">Bag.java:332</a></div></div>
<div class="ttc" id="namespacenars_1_1inference_html"><div class="ttname"><a href="../../d9/d79/namespacenars_1_1inference.html">nars.inference</a></div><div class="ttdef"><b>Definition:</b> <a href="../../de/d4e/BudgetFunctions_8java_source.html#l00021">BudgetFunctions.java:21</a></div></div>
<div class="ttc" id="classnars_1_1main__nogui_1_1CommandLineParameters_html"><div class="ttname"><a href="../../de/d7c/classnars_1_1main__nogui_1_1CommandLineParameters.html">nars.main_nogui.CommandLineParameters</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d0/dc4/CommandLineParameters_8java_source.html#l00005">CommandLineParameters.java:5</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1NullInferenceRecorder_ad19f18c072e44e25393bdbf5417727c7_html_ad19f18c072e44e25393bdbf5417727c7"><div class="ttname"><a href="../../de/d27/classnars_1_1storage_1_1Memory_1_1NullInferenceRecorder_ad19f18c072e44e25393bdbf5417727c7.html#ad19f18c072e44e25393bdbf5417727c7">nars.storage.Memory.NullInferenceRecorder.show</a></div><div class="ttdeci">void show()</div><div class="ttdoc">Show the window. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00685">Memory.java:685</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1NARSBatch_a153320b4db462e7023e17676cf202022_html_a153320b4db462e7023e17676cf202022"><div class="ttname"><a href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a153320b4db462e7023e17676cf202022.html#a153320b4db462e7023e17676cf202022">nars.storage.Memory.NARSBatch.reasoner</a></div><div class="ttdeci">ReasonerBatch reasoner</div><div class="ttdoc">The reasoner. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00724">Memory.java:724</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a63e0d06b7e29713dde0dc9604db28f74_html_a63e0d06b7e29713dde0dc9604db28f74"><div class="ttname"><a href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a63e0d06b7e29713dde0dc9604db28f74.html#a63e0d06b7e29713dde0dc9604db28f74">nars.storage.Memory.ReasonerBatch.stop</a></div><div class="ttdeci">void stop()</div><div class="ttdoc">Stop the inference process. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00943">Memory.java:943</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_ab98ad1b36aa77d470f4b6b7df29f1fd8_html_ab98ad1b36aa77d470f4b6b7df29f1fd8"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_ab98ad1b36aa77d470f4b6b7df29f1fd8.html#ab98ad1b36aa77d470f4b6b7df29f1fd8">nars.storage.Memory.setReasoner</a></div><div class="ttdeci">void setReasoner(ReasonerBatch reasoner)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00535">Memory.java:535</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1NARSBatch_a4a34ffaab4bcb8885d685edf69f4e2d2_html_a4a34ffaab4bcb8885d685edf69f4e2d2"><div class="ttname"><a href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a4a34ffaab4bcb8885d685edf69f4e2d2.html#a4a34ffaab4bcb8885d685edf69f4e2d2">nars.storage.Memory.NARSBatch.NARSBatch</a></div><div class="ttdeci">NARSBatch()</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00753">Memory.java:753</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1Parameters_a00681c48812b09ea469bc16bee7b1e5f_html_a00681c48812b09ea469bc16bee7b1e5f"><div class="ttname"><a href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a00681c48812b09ea469bc16bee7b1e5f.html#a00681c48812b09ea469bc16bee7b1e5f">nars.storage.Memory.Parameters.MAXIMUM_STAMP_LENGTH</a></div><div class="ttdeci">static final int MAXIMUM_STAMP_LENGTH</div><div class="ttdoc">Maximum length of Stamp, a power of 2. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l01137">Memory.java:1137</a></div></div>
<div class="ttc" id="interfacenars_1_1io_1_1InputChannel_html"><div class="ttname"><a href="../../df/dd9/interfacenars_1_1io_1_1InputChannel.html">nars.io.InputChannel</a></div><div class="ttdoc">An interface to be implemented in all input channels to get the input for the next moment from an inp...</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/d99/InputChannel_8java_source.html#l00026">InputChannel.java:26</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Task_ab140cb553a6cf40b07093d1df283567f_html_ab140cb553a6cf40b07093d1df283567f"><div class="ttname"><a href="../../dc/ddc/classnars_1_1entity_1_1Task_ab140cb553a6cf40b07093d1df283567f.html#ab140cb553a6cf40b07093d1df283567f">nars.entity.Task.getSentence</a></div><div class="ttdeci">Sentence getSentence()</div><div class="ttdoc">Get the sentence. </div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d10/Task_8java_source.html#l00099">Task.java:99</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1Parameters_afd449c49d1181b89c64e84f7a1b742a9_html_afd449c49d1181b89c64e84f7a1b742a9"><div class="ttname"><a href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_afd449c49d1181b89c64e84f7a1b742a9.html#afd449c49d1181b89c64e84f7a1b742a9">nars.storage.Memory.Parameters.BUDGET_THRESHOLD</a></div><div class="ttdeci">static final float BUDGET_THRESHOLD</div><div class="ttdoc">The budget threshold rate for task to be accepted. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l01098">Memory.java:1098</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1BudgetValue_af414899759992288edbba78d7457c534_html_af414899759992288edbba78d7457c534"><div class="ttname"><a href="../../db/d8e/classnars_1_1entity_1_1BudgetValue_af414899759992288edbba78d7457c534.html#af414899759992288edbba78d7457c534">nars.entity.BudgetValue.summary</a></div><div class="ttdeci">float summary()</div><div class="ttdoc">To summarize a BudgetValue into a single number in [0, 1]. </div><div class="ttdef"><b>Definition:</b> <a href="../../d8/d59/BudgetValue_8java_source.html#l00188">BudgetValue.java:188</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a83154b55b922c82b73931d4f22e3a590_html_a83154b55b922c82b73931d4f22e3a590"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a83154b55b922c82b73931d4f22e3a590.html#a83154b55b922c82b73931d4f22e3a590">nars.storage.Memory.processConcept</a></div><div class="ttdeci">void processConcept()</div><div class="ttdoc">Select a concept to fire. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00397">Memory.java:397</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1NARSBatch_a329533eae1f4304ec5c610dc6debfa89_html_a329533eae1f4304ec5c610dc6debfa89"><div class="ttname"><a href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a329533eae1f4304ec5c610dc6debfa89.html#a329533eae1f4304ec5c610dc6debfa89">nars.storage.Memory.NARSBatch.logging</a></div><div class="ttdeci">transient boolean logging</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00725">Memory.java:725</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_abdaee5d2bdc38e3d7a4c873008925df2_html_abdaee5d2bdc38e3d7a4c873008925df2"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_abdaee5d2bdc38e3d7a4c873008925df2.html#abdaee5d2bdc38e3d7a4c873008925df2">nars.storage.Memory.getSubstitute</a></div><div class="ttdeci">HashMap&lt; Term, Term &gt; getSubstitute()</div><div class="ttdoc">The substitution that unify the common term in the Task and the Belief TODO unused. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00670">Memory.java:670</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Bag_ac72ca10afde302a1c190a185947781e3_html_ac72ca10afde302a1c190a185947781e3"><div class="ttname"><a href="../../d9/d37/classnars_1_1storage_1_1Bag_ac72ca10afde302a1c190a185947781e3.html#ac72ca10afde302a1c190a185947781e3">nars.storage.Bag.pickOut</a></div><div class="ttdeci">Type pickOut(String key)</div><div class="ttdoc">Pick an item by key, then remove it from the bag. </div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dce/Bag_8java_source.html#l00216">Bag.java:216</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a8be39c6e446d0c96920e224a68b403da_html_a8be39c6e446d0c96920e224a68b403da"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a8be39c6e446d0c96920e224a68b403da.html#a8be39c6e446d0c96920e224a68b403da">nars.storage.Memory.newTasks</a></div><div class="ttdeci">List&lt; Task &gt; newTasks</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00064">Memory.java:64</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1Parameters_a5ac2f336b86aec2157bb2ec1e54fab24_html_a5ac2f336b86aec2157bb2ec1e54fab24"><div class="ttname"><a href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a5ac2f336b86aec2157bb2ec1e54fab24.html#a5ac2f336b86aec2157bb2ec1e54fab24">nars.storage.Memory.Parameters.DEFAULT_CONFIRMATION_EXPECTATION</a></div><div class="ttdeci">static final float DEFAULT_CONFIRMATION_EXPECTATION</div><div class="ttdoc">Default expectation for confirmation. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l01102">Memory.java:1102</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_html"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols.html">nars.io.Symbols</a></div><div class="ttdoc">The ASCII symbols used in I/O. </div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00026">Symbols.java:26</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a46268d511b467d42cd9ff1b2696ebbd7_html_a46268d511b467d42cd9ff1b2696ebbd7"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a46268d511b467d42cd9ff1b2696ebbd7.html#a46268d511b467d42cd9ff1b2696ebbd7">nars.storage.Memory.conceptsStartPlay</a></div><div class="ttdeci">void conceptsStartPlay(BagObserver bagObserver, String s)</div><div class="ttdoc">Display active concepts, called from MainWindow. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00437">Memory.java:437</a></div></div>
<div class="ttc" id="interfacenars_1_1io_1_1IInferenceRecorder_acb473be6e5d774c10781bc8e74453459_html_acb473be6e5d774c10781bc8e74453459"><div class="ttname"><a href="../../db/d34/interfacenars_1_1io_1_1IInferenceRecorder_acb473be6e5d774c10781bc8e74453459.html#acb473be6e5d774c10781bc8e74453459">nars.io.IInferenceRecorder.append</a></div><div class="ttdeci">abstract void append(String s)</div><div class="ttdoc">Add new text to display. </div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1ReasonerBatch_af9b0f156f3063b99421e768fa4a1e09c_html_af9b0f156f3063b99421e768fa4a1e09c"><div class="ttname"><a href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_af9b0f156f3063b99421e768fa4a1e09c.html#af9b0f156f3063b99421e768fa4a1e09c">nars.storage.Memory.ReasonerBatch.reset</a></div><div class="ttdeci">void reset()</div><div class="ttdoc">Reset the system with an empty memory and reset clock. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00887">Memory.java:887</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1NullInferenceRecorder_ac22b93f332ec8095e000d115428294db_html_ac22b93f332ec8095e000d115428294db"><div class="ttname"><a href="../../de/d27/classnars_1_1storage_1_1Memory_1_1NullInferenceRecorder_ac22b93f332ec8095e000d115428294db.html#ac22b93f332ec8095e000d115428294db">nars.storage.Memory.NullInferenceRecorder.stop</a></div><div class="ttdeci">void stop()</div><div class="ttdoc">Stop the display. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00693">Memory.java:693</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Concept_html"><div class="ttname"><a href="../../d4/d22/classnars_1_1entity_1_1Concept.html">nars.entity.Concept</a></div><div class="ttdoc">A concept contains information associated with a term, including directly and indirectly related task...</div><div class="ttdef"><b>Definition:</b> <a href="../../df/d62/Concept_8java_source.html#l00047">Concept.java:47</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Bag_a9d42fa45681a07796750a350e08d095b_html_a9d42fa45681a07796750a350e08d095b"><div class="ttname"><a href="../../d9/d37/classnars_1_1storage_1_1Bag_a9d42fa45681a07796750a350e08d095b.html#a9d42fa45681a07796750a350e08d095b">nars.storage.Bag.putIn</a></div><div class="ttdeci">boolean putIn(Type newItem)</div><div class="ttdoc">Add a new Item into the Bag. </div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dce/Bag_8java_source.html#l00154">Bag.java:154</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a871fc44819f07232afb4573ad704dee0_html_a871fc44819f07232afb4573ad704dee0"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a871fc44819f07232afb4573ad704dee0.html#a871fc44819f07232afb4573ad704dee0">nars.storage.Memory.noResult</a></div><div class="ttdeci">boolean noResult()</div><div class="ttdoc">Actually means that there are no new Tasks. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00129">Memory.java:129</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a076ad9a0e872386bca3f2d17fa7cb2d4_html_a076ad9a0e872386bca3f2d17fa7cb2d4"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a076ad9a0e872386bca3f2d17fa7cb2d4.html#a076ad9a0e872386bca3f2d17fa7cb2d4">nars.storage.Memory.getReasoner</a></div><div class="ttdeci">ReasonerBatch getReasoner()</div><div class="ttdoc">Backward pointer to the reasoner. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00531">Memory.java:531</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a43ad4121ee38fdede43e4424e5a94eb1_html_a43ad4121ee38fdede43e4424e5a94eb1"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a43ad4121ee38fdede43e4424e5a94eb1.html#a43ad4121ee38fdede43e4424e5a94eb1">nars.storage.Memory.setRecorder</a></div><div class="ttdeci">void setRecorder(IInferenceRecorder recorder)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00115">Memory.java:115</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1NARSBatch_aba69ed21c77b3bdbf3a8fc95cb1789de_html_aba69ed21c77b3bdbf3a8fc95cb1789de"><div class="ttname"><a href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_aba69ed21c77b3bdbf3a8fc95cb1789de.html#aba69ed21c77b3bdbf3a8fc95cb1789de">nars.storage.Memory.NARSBatch.out</a></div><div class="ttdeci">PrintStream out</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00726">Memory.java:726</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a5daaf2cedc2672912d0727173eb2d935_html_a5daaf2cedc2672912d0727173eb2d935"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a5daaf2cedc2672912d0727173eb2d935.html#a5daaf2cedc2672912d0727173eb2d935">nars.storage.Memory.setCurrentTask</a></div><div class="ttdeci">void setCurrentTask(Task currentTask)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00629">Memory.java:629</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a3482da9df329962e73213118fbaef131_html_a3482da9df329962e73213118fbaef131"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a3482da9df329962e73213118fbaef131.html#a3482da9df329962e73213118fbaef131">nars.storage.Memory.setCurrentBelief</a></div><div class="ttdeci">void setCurrentBelief(Sentence currentBelief)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00651">Memory.java:651</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1ReasonerBatch_af29e66c0813aeea26cc4afea9735473e_html_af29e66c0813aeea26cc4afea9735473e"><div class="ttname"><a href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_af29e66c0813aeea26cc4afea9735473e.html#af29e66c0813aeea26cc4afea9735473e">nars.storage.Memory.ReasonerBatch.initTimer</a></div><div class="ttdeci">void initTimer()</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l01047">Memory.java:1047</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1NullInferenceRecorder_html"><div class="ttname"><a href="../../de/d27/classnars_1_1storage_1_1Memory_1_1NullInferenceRecorder.html">nars.storage.Memory.NullInferenceRecorder</a></div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00678">Memory.java:678</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1TruthValue_aa5ffcde3ae611b087ba7fdd4cd67b216_html_aa5ffcde3ae611b087ba7fdd4cd67b216"><div class="ttname"><a href="../../d3/db8/classnars_1_1entity_1_1TruthValue_aa5ffcde3ae611b087ba7fdd4cd67b216.html#aa5ffcde3ae611b087ba7fdd4cd67b216">nars.entity.TruthValue.getExpectation</a></div><div class="ttdeci">float getExpectation()</div><div class="ttdoc">Calculate the expectation value of the truth value. </div><div class="ttdef"><b>Definition:</b> <a href="../../de/de7/TruthValue_8java_source.html#l00077">TruthValue.java:77</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1ReasonerBatch_ace7395287f9f294a67f4c1bc296577a5_html_ace7395287f9f294a67f4c1bc296577a5"><div class="ttname"><a href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_ace7395287f9f294a67f4c1bc296577a5.html#ace7395287f9f294a67f4c1bc296577a5">nars.storage.Memory.ReasonerBatch.memory</a></div><div class="ttdeci">Memory memory</div><div class="ttdoc">The memory of the reasoner. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00859">Memory.java:859</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1ConceptBag_html"><div class="ttname"><a href="../../dc/dbe/classnars_1_1storage_1_1ConceptBag.html">nars.storage.ConceptBag</a></div><div class="ttdoc">Contains Concepts. </div><div class="ttdef"><b>Definition:</b> <a href="../../df/d67/ConceptBag_8java_source.html#l00029">ConceptBag.java:29</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_ac887d547c5ab3eff63f44a07bb9ff339_html_ac887d547c5ab3eff63f44a07bb9ff339"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_ac887d547c5ab3eff63f44a07bb9ff339.html#ac887d547c5ab3eff63f44a07bb9ff339">nars.storage.Memory.toStringLongIfNotNull</a></div><div class="ttdeci">String toStringLongIfNotNull(Item item, String title)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00506">Memory.java:506</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Bag_a011b37fc683db7fb7b41e33712a37d92_html_a011b37fc683db7fb7b41e33712a37d92"><div class="ttname"><a href="../../d9/d37/classnars_1_1storage_1_1Bag_a011b37fc683db7fb7b41e33712a37d92.html#a011b37fc683db7fb7b41e33712a37d92">nars.storage.Bag.get</a></div><div class="ttdeci">Type get(String key)</div><div class="ttdoc">Get an Item by key. </div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dce/Bag_8java_source.html#l00145">Bag.java:145</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a4017bddb252ecdfc193a7465f2d0b8b7_html_a4017bddb252ecdfc193a7465f2d0b8b7"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a4017bddb252ecdfc193a7465f2d0b8b7.html#a4017bddb252ecdfc193a7465f2d0b8b7">nars.storage.Memory.toStringIfNotNull</a></div><div class="ttdeci">String toStringIfNotNull(Object item, String title)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00511">Memory.java:511</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a33af7b3d806d32c85390563fec3c6d27_html_a33af7b3d806d32c85390563fec3c6d27"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a33af7b3d806d32c85390563fec3c6d27.html#a33af7b3d806d32c85390563fec3c6d27">nars.storage.Memory.getConcepts</a></div><div class="ttdeci">ConceptBag getConcepts()</div><div class="ttdoc">Concept bag. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00542">Memory.java:542</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a19d1a5ec8277f907caaef4ecfcab2f28_html_a19d1a5ec8277f907caaef4ecfcab2f28"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a19d1a5ec8277f907caaef4ecfcab2f28.html#a19d1a5ec8277f907caaef4ecfcab2f28">nars.storage.Memory.termToConcept</a></div><div class="ttdeci">Concept termToConcept(TermStruct term)</div><div class="ttdoc">Get an existing Concept for a given Term. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00166">Memory.java:166</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1Parameters_acbc0d248cbd19cca521940073d596846_html_acbc0d248cbd19cca521940073d596846"><div class="ttname"><a href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_acbc0d248cbd19cca521940073d596846.html#acbc0d248cbd19cca521940073d596846">nars.storage.Memory.Parameters.DEFAULT_QUESTION_DURABILITY</a></div><div class="ttdeci">static final float DEFAULT_QUESTION_DURABILITY</div><div class="ttdoc">Default durability of input question. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l01114">Memory.java:1114</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1NullInferenceRecorder_a0d79c507ca3cb098fa080ca39518a686_html_a0d79c507ca3cb098fa080ca39518a686"><div class="ttname"><a href="../../de/d27/classnars_1_1storage_1_1Memory_1_1NullInferenceRecorder_a0d79c507ca3cb098fa080ca39518a686.html#a0d79c507ca3cb098fa080ca39518a686">nars.storage.Memory.NullInferenceRecorder.init</a></div><div class="ttdeci">void init()</div><div class="ttdoc">Initialize the window and the file. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00681">Memory.java:681</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1ExperienceReader_a1e4529d4f692ecfc7becd9d8e367b3d6_html_a1e4529d4f692ecfc7becd9d8e367b3d6"><div class="ttname"><a href="../../d7/d69/classnars_1_1io_1_1ExperienceReader_a1e4529d4f692ecfc7becd9d8e367b3d6.html#a1e4529d4f692ecfc7becd9d8e367b3d6">nars.io.ExperienceReader.setBufferedReader</a></div><div class="ttdeci">void setBufferedReader(BufferedReader inExp)</div><div class="ttdef"><b>Definition:</b> <a href="../../d3/d26/ExperienceReader_8java_source.html#l00090">ExperienceReader.java:90</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_acb98b40c8990dbe5e15061f0759c60ee_html_acb98b40c8990dbe5e15061f0759c60ee"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence_acb98b40c8990dbe5e15061f0759c60ee.html#acb98b40c8990dbe5e15061f0759c60ee">nars.entity.Sentence.isQuestion</a></div><div class="ttdeci">boolean isQuestion()</div><div class="ttdoc">Distinguish Question from Quest ("instanceof Question" doesn&#39;t work) </div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00189">Sentence.java:189</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a4b9b24a52eef75c131372b8e08e2dc6d_html_a4b9b24a52eef75c131372b8e08e2dc6d"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a4b9b24a52eef75c131372b8e08e2dc6d.html#a4b9b24a52eef75c131372b8e08e2dc6d">nars.storage.Memory.nameToConcept</a></div><div class="ttdeci">Concept nameToConcept(String name)</div><div class="ttdoc">Get an existing Concept for a given name. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00141">Memory.java:141</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Bag_html"><div class="ttname"><a href="../../d9/d37/classnars_1_1storage_1_1Bag.html">nars.storage.Bag</a></div><div class="ttdoc">A Bag is a storage with a constant capacity and maintains an internal priority distribution for retri...</div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dce/Bag_8java_source.html#l00041">Bag.java:41</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1Parameters_a456ed58abf68eba88ea45cbdf135efaa_html_a456ed58abf68eba88ea45cbdf135efaa"><div class="ttname"><a href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a456ed58abf68eba88ea45cbdf135efaa.html#a456ed58abf68eba88ea45cbdf135efaa">nars.storage.Memory.Parameters.MAX_MATCHED_TERM_LINK</a></div><div class="ttdeci">static final int MAX_MATCHED_TERM_LINK</div><div class="ttdoc">Maximum TermLinks checked for novelty for each TaskLink in TermLinkBag. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l01085">Memory.java:1085</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Task_a091f9ec3bdacfd6741f767cb62b14c0f_html_a091f9ec3bdacfd6741f767cb62b14c0f"><div class="ttname"><a href="../../dc/ddc/classnars_1_1entity_1_1Task_a091f9ec3bdacfd6741f767cb62b14c0f.html#a091f9ec3bdacfd6741f767cb62b14c0f">nars.entity.Task.getContent</a></div><div class="ttdeci">Term getContent()</div><div class="ttdoc">Directly get the content of the sentence. </div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d10/Task_8java_source.html#l00108">Task.java:108</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Stamp_html"><div class="ttname"><a href="../../d1/d1e/classnars_1_1entity_1_1Stamp.html">nars.entity.Stamp</a></div><div class="ttdoc">Each Sentence has a time stamp, consisting the following components: (1) The creation time of the sen...</div><div class="ttdef"><b>Definition:</b> <a href="../../d8/d4f/Stamp_8java_source.html#l00035">Stamp.java:35</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_a3e0fe978c5d87f921a277fd067982980_html_a3e0fe978c5d87f921a277fd067982980"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence_a3e0fe978c5d87f921a277fd067982980.html#a3e0fe978c5d87f921a277fd067982980">nars.entity.Sentence.getPunctuation</a></div><div class="ttdeci">char getPunctuation()</div><div class="ttdoc">Get the punctuation of the sentence. </div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00141">Sentence.java:141</a></div></div>
<div class="ttc" id="namespacenars_html"><div class="ttname"><a href="../../d7/d81/namespacenars.html">nars</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1TaskLink_html"><div class="ttname"><a href="../../d9/d27/classnars_1_1entity_1_1TaskLink.html">nars.entity.TaskLink</a></div><div class="ttdoc">Reference to a Task. </div><div class="ttdef"><b>Definition:</b> <a href="../../d3/dce/TaskLink_8java_source.html#l00032">TaskLink.java:32</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_ae5e3919d3c8ac28eee470304c678fa29_html_ae5e3919d3c8ac28eee470304c678fa29"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_ae5e3919d3c8ac28eee470304c678fa29.html#ae5e3919d3c8ac28eee470304c678fa29">nars.storage.Memory.setBeliefForgettingRate</a></div><div class="ttdeci">void setBeliefForgettingRate(AtomicInteger beliefForgettingRate)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00561">Memory.java:561</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1NullInferenceRecorder_a96e2d9476df2d20f3b936a12dca8a9b4_html_a96e2d9476df2d20f3b936a12dca8a9b4"><div class="ttname"><a href="../../de/d27/classnars_1_1storage_1_1Memory_1_1NullInferenceRecorder_a96e2d9476df2d20f3b936a12dca8a9b4.html#a96e2d9476df2d20f3b936a12dca8a9b4">nars.storage.Memory.NullInferenceRecorder.play</a></div><div class="ttdeci">void play()</div><div class="ttdoc">Begin the display. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00689">Memory.java:689</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a3f45cdc40973611106276cfbc27a7a7a_html_a3f45cdc40973611106276cfbc27a7a7a"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a3f45cdc40973611106276cfbc27a7a7a.html#a3f45cdc40973611106276cfbc27a7a7a">nars.storage.Memory.getConcept</a></div><div class="ttdeci">Concept getConcept(Term term)</div><div class="ttdoc">Get the Concept associated to a Term, or create it. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00176">Memory.java:176</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1NARSBatch_aad99db6cedde9cff2a997db8906ff821_html_aad99db6cedde9cff2a997db8906ff821"><div class="ttname"><a href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_aad99db6cedde9cff2a997db8906ff821.html#aad99db6cedde9cff2a997db8906ff821">nars.storage.Memory.NARSBatch.run</a></div><div class="ttdeci">void run()</div><div class="ttdoc">Run to completion: repeatedly execute NARS working cycle, until Inputs are Finished, or 1000 steps. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00806">Memory.java:806</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1Parameters_a20cda9128cf27aa2d345c9081b7b3d9f_html_a20cda9128cf27aa2d345c9081b7b3d9f"><div class="ttname"><a href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a20cda9128cf27aa2d345c9081b7b3d9f.html#a20cda9128cf27aa2d345c9081b7b3d9f">nars.storage.Memory.Parameters.SILENT_LEVEL</a></div><div class="ttdeci">static final int SILENT_LEVEL</div><div class="ttdoc">Silent threshold for task reporting, in [0, 100]. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l01079">Memory.java:1079</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_html"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence.html">nars.entity.Sentence</a></div><div class="ttdoc">A Sentence is an abstract class, mainly containing a Term, a TruthValue, and a Stamp. </div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00031">Sentence.java:31</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1NARSBatch_ad382d6187314bd217cb3eddb34ba29bd_html_ad382d6187314bd217cb3eddb34ba29bd"><div class="ttname"><a href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_ad382d6187314bd217cb3eddb34ba29bd.html#ad382d6187314bd217cb3eddb34ba29bd">nars.storage.Memory.NARSBatch.runInference</a></div><div class="ttdeci">void runInference(BufferedReader r, BufferedWriter w)</div><div class="ttdoc">non-static equivalent to main(String[]) : run to completion from a BufferedReader ...</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00780">Memory.java:780</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a1c380432b170513c7b396f16f2be7455_html_a1c380432b170513c7b396f16f2be7455"><div class="ttname"><a href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a1c380432b170513c7b396f16f2be7455.html#a1c380432b170513c7b396f16f2be7455">nars.storage.Memory.ReasonerBatch.finishedInputs</a></div><div class="ttdeci">boolean finishedInputs</div><div class="ttdoc">determines the end of NARSBatch program (set but not accessed in this class) </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00872">Memory.java:872</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_aaa97540563b646b33db1263fa3a97d53_html_aaa97540563b646b33db1263fa3a97d53"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_aaa97540563b646b33db1263fa3a97d53.html#aaa97540563b646b33db1263fa3a97d53">nars.storage.Memory.getTime</a></div><div class="ttdeci">long getTime()</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00119">Memory.java:119</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1Symbols_a47730a5d7d9ab257452f5ed89c32e8ba_html_a47730a5d7d9ab257452f5ed89c32e8ba"><div class="ttname"><a href="../../dc/d71/classnars_1_1io_1_1Symbols_a47730a5d7d9ab257452f5ed89c32e8ba.html#a47730a5d7d9ab257452f5ed89c32e8ba">nars.io.Symbols.COMMENT_MARK</a></div><div class="ttdeci">static final char COMMENT_MARK</div><div class="ttdef"><b>Definition:</b> <a href="../../d5/da0/Symbols_8java_source.html#l00084">Symbols.java:84</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1ReasonerBatch_aef7252f44b7536ae7ec31718106b43d5_html_aef7252f44b7536ae7ec31718106b43d5"><div class="ttname"><a href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_aef7252f44b7536ae7ec31718106b43d5.html#aef7252f44b7536ae7ec31718106b43d5">nars.storage.Memory.ReasonerBatch.running</a></div><div class="ttdeci">boolean running</div><div class="ttdoc">Flag for running continuously. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00867">Memory.java:867</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1Parameters_a320a24f2b4d275599b5a675f81af52d1_html_a320a24f2b4d275599b5a675f81af52d1"><div class="ttname"><a href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a320a24f2b4d275599b5a675f81af52d1.html#a320a24f2b4d275599b5a675f81af52d1">nars.storage.Memory.Parameters.TERM_LINK_RECORD_LENGTH</a></div><div class="ttdeci">static final int TERM_LINK_RECORD_LENGTH</div><div class="ttdoc">Remember recently used TermLink on a Task. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l01139">Memory.java:1139</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a26cbb4acec5bb2c23a048d7deba4051d_html_a26cbb4acec5bb2c23a048d7deba4051d"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a26cbb4acec5bb2c23a048d7deba4051d.html#a26cbb4acec5bb2c23a048d7deba4051d">nars.storage.Memory.report</a></div><div class="ttdeci">void report(Sentence sentence, boolean input)</div><div class="ttdoc">Display input/output sentence in the output channels. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00464">Memory.java:464</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a6452df8d65ea0ab8ab26d76bccd3eb80_html_a6452df8d65ea0ab8ab26d76bccd3eb80"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a6452df8d65ea0ab8ab26d76bccd3eb80.html#a6452df8d65ea0ab8ab26d76bccd3eb80">nars.storage.Memory.beliefForgettingRate</a></div><div class="ttdeci">AtomicInteger beliefForgettingRate</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00059">Memory.java:59</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1StringParser_a37ff864d959aba58138170a3f9a3e7c8_html_a37ff864d959aba58138170a3f9a3e7c8"><div class="ttname"><a href="../../d3/dca/classnars_1_1io_1_1StringParser_a37ff864d959aba58138170a3f9a3e7c8.html#a37ff864d959aba58138170a3f9a3e7c8">nars.io.StringParser.parseExperience</a></div><div class="ttdeci">static Task parseExperience(StringBuffer buffer, Memory memory, long time)</div><div class="ttdoc">Parse a line of input experience. </div><div class="ttdef"><b>Definition:</b> <a href="../../d7/dcd/StringParser_8java_source.html#l00061">StringParser.java:61</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1ExperienceWriter_html"><div class="ttname"><a href="../../d0/d5d/classnars_1_1io_1_1ExperienceWriter.html">nars.io.ExperienceWriter</a></div><div class="ttdoc">To read and write experience as Task streams. </div><div class="ttdef"><b>Definition:</b> <a href="../../de/d8a/ExperienceWriter_8java_source.html#l00033">ExperienceWriter.java:33</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1NullInferenceRecorder_a2f9d1874ca0c58f3cafd61affcfe86a4_html_a2f9d1874ca0c58f3cafd61affcfe86a4"><div class="ttname"><a href="../../de/d27/classnars_1_1storage_1_1Memory_1_1NullInferenceRecorder_a2f9d1874ca0c58f3cafd61affcfe86a4.html#a2f9d1874ca0c58f3cafd61affcfe86a4">nars.storage.Memory.NullInferenceRecorder.closeLogFile</a></div><div class="ttdeci">void closeLogFile()</div><div class="ttdoc">Close the log file. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00705">Memory.java:705</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a9bba24c2bbb3d9f36c0528a2760e8647_html_a9bba24c2bbb3d9f36c0528a2760e8647"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a9bba24c2bbb3d9f36c0528a2760e8647.html#a9bba24c2bbb3d9f36c0528a2760e8647">nars.storage.Memory.setCurrentBeliefLink</a></div><div class="ttdeci">void setCurrentBeliefLink(TermLink currentBeliefLink)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00640">Memory.java:640</a></div></div>
<div class="ttc" id="interfacenars_1_1io_1_1OutputChannel_html"><div class="ttname"><a href="../../d2/d60/interfacenars_1_1io_1_1OutputChannel.html">nars.io.OutputChannel</a></div><div class="ttdoc">An interface to be implemented in all output channel. </div><div class="ttdef"><b>Definition:</b> <a href="../../dc/dfd/OutputChannel_8java_source.html#l00012">OutputChannel.java:12</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a769d74f14b74ca679c57bd71d18045a3_html_a769d74f14b74ca679c57bd71d18045a3"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a769d74f14b74ca679c57bd71d18045a3.html#a769d74f14b74ca679c57bd71d18045a3">nars.storage.Memory.setConceptForgettingRate</a></div><div class="ttdeci">void setConceptForgettingRate(AtomicInteger conceptForgettingRate)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00569">Memory.java:569</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1Parameters_a842feca090255c91abbdbfb8a8b5a973_html_a842feca090255c91abbdbfb8a8b5a973"><div class="ttname"><a href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a842feca090255c91abbdbfb8a8b5a973.html#a842feca090255c91abbdbfb8a8b5a973">nars.storage.Memory.Parameters.TERM_LINK_FORGETTING_CYCLE</a></div><div class="ttdeci">static final int TERM_LINK_FORGETTING_CYCLE</div><div class="ttdoc">TermLink decay rate in TermLinkBag, in [1, 99]. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l01077">Memory.java:1077</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_aceb4422169329357b13d43fe8d485636_html_aceb4422169329357b13d43fe8d485636"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_aceb4422169329357b13d43fe8d485636.html#aceb4422169329357b13d43fe8d485636">nars.storage.Memory.exportStrings</a></div><div class="ttdeci">List&lt; String &gt; exportStrings</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00065">Memory.java:65</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1ReasonerBatch_ab57c8b17d75a77c308f50ed6fe4033fd_html_ab57c8b17d75a77c308f50ed6fe4033fd"><div class="ttname"><a href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_ab57c8b17d75a77c308f50ed6fe4033fd.html#ab57c8b17d75a77c308f50ed6fe4033fd">nars.storage.Memory.ReasonerBatch.addOutputChannel</a></div><div class="ttdeci">void addOutputChannel(OutputChannel channel)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00908">Memory.java:908</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1ReasonerBatch_html"><div class="ttname"><a href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch.html">nars.storage.Memory.ReasonerBatch</a></div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00853">Memory.java:853</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1NARSBatch_a416c39463faa161661ed1d12fea03b3c_html_a416c39463faa161661ed1d12fea03b3c"><div class="ttname"><a href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a416c39463faa161661ed1d12fea03b3c.html#a416c39463faa161661ed1d12fea03b3c">nars.storage.Memory.NARSBatch.runInference</a></div><div class="ttdeci">void runInference(String args[])</div><div class="ttdoc">non-static equivalent to main(String[]) : run to completion from an input file </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00761">Memory.java:761</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1ReasonerBatch_ae96a4b7813aab698957a8be4668f8f82_html_ae96a4b7813aab698957a8be4668f8f82"><div class="ttname"><a href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_ae96a4b7813aab698957a8be4668f8f82.html#ae96a4b7813aab698957a8be4668f8f82">nars.storage.Memory.ReasonerBatch.tickTimer</a></div><div class="ttdeci">void tickTimer()</div><div class="ttdoc">Update timer. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l01052">Memory.java:1052</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a4a815fb8bc68d8a09c0fe50984372459_html_a4a815fb8bc68d8a09c0fe50984372459"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a4a815fb8bc68d8a09c0fe50984372459.html#a4a815fb8bc68d8a09c0fe50984372459">nars.storage.Memory.getConceptForgettingRate</a></div><div class="ttdeci">AtomicInteger getConceptForgettingRate()</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00524">Memory.java:524</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1NARSBatch_aa86da80a078bad5c1933e5080b9d6f2d_html_aa86da80a078bad5c1933e5080b9d6f2d"><div class="ttname"><a href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_aa86da80a078bad5c1933e5080b9d6f2d.html#aa86da80a078bad5c1933e5080b9d6f2d">nars.storage.Memory.NARSBatch.setStandAlone</a></div><div class="ttdeci">static void setStandAlone(boolean standAlone)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00840">Memory.java:840</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1Term_a88297bdbbfb5f3e292783647b14f0c70_html_a88297bdbbfb5f3e292783647b14f0c70"><div class="ttname"><a href="../../d8/db8/classnars_1_1language_1_1Term_a88297bdbbfb5f3e292783647b14f0c70.html#a88297bdbbfb5f3e292783647b14f0c70">nars.language.Term.isConstant</a></div><div class="ttdeci">boolean isConstant()</div><div class="ttdoc">Check whether the current Term can name a Concept. </div><div class="ttdef"><b>Definition:</b> <a href="../../d8/df2/Term_8java_source.html#l00113">Term.java:113</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a1233dbd1131192889bae177fc57f4113_html_a1233dbd1131192889bae177fc57f4113"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a1233dbd1131192889bae177fc57f4113.html#a1233dbd1131192889bae177fc57f4113">nars.storage.Memory.toString</a></div><div class="ttdeci">String toString()</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00492">Memory.java:492</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1Parameters_a73b48af1550865dbcc0f15c4f0ad891f_html_a73b48af1550865dbcc0f15c4f0ad891f"><div class="ttname"><a href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a73b48af1550865dbcc0f15c4f0ad891f.html#a73b48af1550865dbcc0f15c4f0ad891f">nars.storage.Memory.Parameters.MAX_REASONED_TERM_LINK</a></div><div class="ttdeci">static final int MAX_REASONED_TERM_LINK</div><div class="ttdoc">Maximum TermLinks used in reasoning for each Task in Concept. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l01087">Memory.java:1087</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a0b31d81b17bf3cfb4e48ff2d1bae63ee_html_a0b31d81b17bf3cfb4e48ff2d1bae63ee"><div class="ttname"><a href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a0b31d81b17bf3cfb4e48ff2d1bae63ee.html#a0b31d81b17bf3cfb4e48ff2d1bae63ee">nars.storage.Memory.ReasonerBatch.name</a></div><div class="ttdeci">String name</div><div class="ttdoc">The name of the reasoner. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00857">Memory.java:857</a></div></div>
<div class="ttc" id="classnars_1_1inference_1_1BudgetFunctions_html"><div class="ttname"><a href="../../d7/d11/classnars_1_1inference_1_1BudgetFunctions.html">nars.inference.BudgetFunctions</a></div><div class="ttdoc">Budget functions for resources allocation. </div><div class="ttdef"><b>Definition:</b> <a href="../../de/d4e/BudgetFunctions_8java_source.html#l00031">BudgetFunctions.java:31</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1Parameters_a78a685447aedc396f4dbe6cd2748b8e8_html_a78a685447aedc396f4dbe6cd2748b8e8"><div class="ttname"><a href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a78a685447aedc396f4dbe6cd2748b8e8.html#a78a685447aedc396f4dbe6cd2748b8e8">nars.storage.Memory.Parameters.MAXIMUM_QUESTIONS_LENGTH</a></div><div class="ttdeci">static final int MAXIMUM_QUESTIONS_LENGTH</div><div class="ttdoc">Maximum number of goals kept in a Concept. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l01143">Memory.java:1143</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a1a17565c7b06ca4ecc1ed57c3fce973f_html_a1a17565c7b06ca4ecc1ed57c3fce973f"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a1a17565c7b06ca4ecc1ed57c3fce973f.html#a1a17565c7b06ca4ecc1ed57c3fce973f">nars.storage.Memory.getExportStrings</a></div><div class="ttdeci">List&lt; String &gt; getExportStrings()</div><div class="ttdoc">List of Strings or Tasks to be sent to the output channels. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00104">Memory.java:104</a></div></div>
<div class="ttc" id="interfacenars_1_1storage_1_1BagObserver_ae0455b8e5d7053bd0a868d1c45616bfd_html_ae0455b8e5d7053bd0a868d1c45616bfd"><div class="ttname"><a href="../../df/d32/interfacenars_1_1storage_1_1BagObserver_ae0455b8e5d7053bd0a868d1c45616bfd.html#ae0455b8e5d7053bd0a868d1c45616bfd">nars.storage.BagObserver.setBag</a></div><div class="ttdeci">void setBag(Bag&lt;?&gt; concepts)</div></div>
<div class="ttc" id="classnars_1_1entity_1_1TruthValue_html"><div class="ttname"><a href="../../d3/db8/classnars_1_1entity_1_1TruthValue.html">nars.entity.TruthValue</a></div><div class="ttdoc">Frequency and confidence. </div><div class="ttdef"><b>Definition:</b> <a href="../../de/de7/TruthValue_8java_source.html#l00028">TruthValue.java:28</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a453c463e690a18bf6cba62e3f27c1e72_html_a453c463e690a18bf6cba62e3f27c1e72"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a453c463e690a18bf6cba62e3f27c1e72.html#a453c463e690a18bf6cba62e3f27c1e72">nars.storage.Memory.currentTask</a></div><div class="ttdeci">Task currentTask</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00069">Memory.java:69</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_abd47ecd35e1df5fa418f2a07545d6f2d_html_abd47ecd35e1df5fa418f2a07545d6f2d"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_abd47ecd35e1df5fa418f2a07545d6f2d.html#abd47ecd35e1df5fa418f2a07545d6f2d">nars.storage.Memory.newStamp</a></div><div class="ttdeci">Stamp newStamp</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00072">Memory.java:72</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1NARSBatch_html"><div class="ttname"><a href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch.html">nars.storage.Memory.NARSBatch</a></div><div class="ttdoc">The main class of the project. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00722">Memory.java:722</a></div></div>
<div class="ttc" id="classnars_1_1io_1_1ExperienceReader_html"><div class="ttname"><a href="../../d7/d69/classnars_1_1io_1_1ExperienceReader.html">nars.io.ExperienceReader</a></div><div class="ttdoc">To read and write experience as Task streams. </div><div class="ttdef"><b>Definition:</b> <a href="../../d3/d26/ExperienceReader_8java_source.html#l00031">ExperienceReader.java:31</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1Parameters_a9b02deb2e403b931a0809a14c1754ae1_html_a9b02deb2e403b931a0809a14c1754ae1"><div class="ttname"><a href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a9b02deb2e403b931a0809a14c1754ae1.html#a9b02deb2e403b931a0809a14c1754ae1">nars.storage.Memory.Parameters.DEFAULT_JUDGMENT_CONFIDENCE</a></div><div class="ttdeci">static final float DEFAULT_JUDGMENT_CONFIDENCE</div><div class="ttdoc">Default confidence of input judgment. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l01106">Memory.java:1106</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_aa0cec63b98350a34c10513f3efeaff86_html_aa0cec63b98350a34c10513f3efeaff86"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_aa0cec63b98350a34c10513f3efeaff86.html#aa0cec63b98350a34c10513f3efeaff86">nars.storage.Memory.activatedTask</a></div><div class="ttdeci">void activatedTask(BudgetValue budget, Sentence sentence, Sentence candidateBelief)</div><div class="ttdoc">Activated task called in MatchingRules.trySolution and Concept.processGoal. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00237">Memory.java:237</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Concept_a9ea7c3154932d7a736c105eb55daeb5c_html_a9ea7c3154932d7a736c105eb55daeb5c"><div class="ttname"><a href="../../d4/d22/classnars_1_1entity_1_1Concept_a9ea7c3154932d7a736c105eb55daeb5c.html#a9ea7c3154932d7a736c105eb55daeb5c">nars.entity.Concept.directProcess</a></div><div class="ttdeci">void directProcess(Task task)</div><div class="ttdoc">Directly process a new task. </div><div class="ttdef"><b>Definition:</b> <a href="../../df/d62/Concept_8java_source.html#l00096">Concept.java:96</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1ReasonerBatch_af63d9ef52a3562ea61add6aebf5a3db0_html_af63d9ef52a3562ea61add6aebf5a3db0"><div class="ttname"><a href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_af63d9ef52a3562ea61add6aebf5a3db0.html#af63d9ef52a3562ea61add6aebf5a3db0">nars.storage.Memory.ReasonerBatch.silenceValue</a></div><div class="ttdeci">AtomicInteger silenceValue</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00876">Memory.java:876</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a9f579556cc722fff72241bbca4fcdd08_html_a9f579556cc722fff72241bbca4fcdd08"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a9f579556cc722fff72241bbca4fcdd08.html#a9f579556cc722fff72241bbca4fcdd08">nars.storage.Memory.setExportStrings</a></div><div class="ttdeci">void setExportStrings(List&lt; String &gt; exportStrings)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00585">Memory.java:585</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Bag_a73a559e1b77e6bc3a7db686816accef2_html_a73a559e1b77e6bc3a7db686816accef2"><div class="ttname"><a href="../../d9/d37/classnars_1_1storage_1_1Bag_a73a559e1b77e6bc3a7db686816accef2.html#a73a559e1b77e6bc3a7db686816accef2">nars.storage.Bag.addBagObserver</a></div><div class="ttdeci">void addBagObserver(BagObserver bagObserver, String title)</div><div class="ttdoc">To start displaying the Bag in a BagWindow. </div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dce/Bag_8java_source.html#l00303">Bag.java:303</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Item_af06f82dd62f5ddf754886b15e1d76dbc_html_af06f82dd62f5ddf754886b15e1d76dbc"><div class="ttname"><a href="../../d1/dd1/classnars_1_1entity_1_1Item_af06f82dd62f5ddf754886b15e1d76dbc.html#af06f82dd62f5ddf754886b15e1d76dbc">nars.entity.Item.toStringLong</a></div><div class="ttdeci">String toStringLong()</div><div class="ttdef"><b>Definition:</b> <a href="../../d9/de0/Item_8java_source.html#l00191">Item.java:191</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a72c204fbe2e1070b0bdc45d7861ac9bd_html_a72c204fbe2e1070b0bdc45d7861ac9bd"><div class="ttname"><a href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a72c204fbe2e1070b0bdc45d7861ac9bd.html#a72c204fbe2e1070b0bdc45d7861ac9bd">nars.storage.Memory.ReasonerBatch.walkingSteps</a></div><div class="ttdeci">int walkingSteps</div><div class="ttdoc">The remaining number of steps to be carried out (walk mode) </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00869">Memory.java:869</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_aa2c5cb7f47cab7037c7a792ec5656f0c_html_aa2c5cb7f47cab7037c7a792ec5656f0c"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_aa2c5cb7f47cab7037c7a792ec5656f0c.html#aa2c5cb7f47cab7037c7a792ec5656f0c">nars.storage.Memory.concepts</a></div><div class="ttdeci">ConceptBag concepts</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00056">Memory.java:56</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1NARSBatch_a43443e8b81b7a19e61490fa2d8e98c7e_html_a43443e8b81b7a19e61490fa2d8e98c7e"><div class="ttname"><a href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a43443e8b81b7a19e61490fa2d8e98c7e.html#a43443e8b81b7a19e61490fa2d8e98c7e">nars.storage.Memory.NARSBatch.init</a></div><div class="ttdeci">void init(BufferedReader r, BufferedWriter w)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00785">Memory.java:785</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Sentence_a7d95d60caaf4c895559182a7eb2ff71e_html_a7d95d60caaf4c895559182a7eb2ff71e"><div class="ttname"><a href="../../d6/d25/classnars_1_1entity_1_1Sentence_a7d95d60caaf4c895559182a7eb2ff71e.html#a7d95d60caaf4c895559182a7eb2ff71e">nars.entity.Sentence.isJudgment</a></div><div class="ttdeci">boolean isJudgment()</div><div class="ttdoc">Distinguish Judgment from Goal ("instanceof Judgment" doesn&#39;t work) </div><div class="ttdef"><b>Definition:</b> <a href="../../da/d1c/Sentence_8java_source.html#l00181">Sentence.java:181</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1NARSBatch_aca495a740f107e3d243f40b84a7affe0_html_aca495a740f107e3d243f40b84a7affe0"><div class="ttname"><a href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_aca495a740f107e3d243f40b84a7affe0.html#aca495a740f107e3d243f40b84a7affe0">nars.storage.Memory.NARSBatch.dumpLastState</a></div><div class="ttdeci">transient boolean dumpLastState</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00727">Memory.java:727</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a49546cffa504adec47732213db21f02a_html_a49546cffa504adec47732213db21f02a"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a49546cffa504adec47732213db21f02a.html#a49546cffa504adec47732213db21f02a">nars.storage.Memory.currentBeliefLink</a></div><div class="ttdeci">TermLink currentBeliefLink</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00070">Memory.java:70</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a175200c1f4c182222d0e66439b6e53a0_html_a175200c1f4c182222d0e66439b6e53a0"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a175200c1f4c182222d0e66439b6e53a0.html#a175200c1f4c182222d0e66439b6e53a0">nars.storage.Memory.immediateProcess</a></div><div class="ttdeci">void immediateProcess(Task task)</div><div class="ttdoc">Immediate processing of a new task, in constant time Local processing, in one concept only...</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00414">Memory.java:414</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Stamp_a104d2fa1a93819a00e5a1221710128c0_html_a104d2fa1a93819a00e5a1221710128c0"><div class="ttname"><a href="../../d1/d1e/classnars_1_1entity_1_1Stamp_a104d2fa1a93819a00e5a1221710128c0.html#a104d2fa1a93819a00e5a1221710128c0">nars.entity.Stamp.init</a></div><div class="ttdeci">static void init()</div><div class="ttdoc">Initialize the stamp mechanism of the system, called in Reasoner. </div><div class="ttdef"><b>Definition:</b> <a href="../../d8/d4f/Stamp_8java_source.html#l00146">Stamp.java:146</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1Parameters_af6a94590cb6e649624fb81a9ebc66e04_html_af6a94590cb6e649624fb81a9ebc66e04"><div class="ttname"><a href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_af6a94590cb6e649624fb81a9ebc66e04.html#af6a94590cb6e649624fb81a9ebc66e04">nars.storage.Memory.Parameters.TASK_BUFFER_SIZE</a></div><div class="ttdeci">static final int TASK_BUFFER_SIZE</div><div class="ttdoc">Size of TaskBuffer. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l01133">Memory.java:1133</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a09d7c31d9c0e91fcac2254b973feae61_html_a09d7c31d9c0e91fcac2254b973feae61"><div class="ttname"><a href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a09d7c31d9c0e91fcac2254b973feae61.html#a09d7c31d9c0e91fcac2254b973feae61">nars.storage.Memory.ReasonerBatch.getMemory</a></div><div class="ttdeci">Memory getMemory()</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00896">Memory.java:896</a></div></div>
<div class="ttc" id="interfacenars_1_1io_1_1IInferenceRecorder_html"><div class="ttname"><a href="../../db/d34/interfacenars_1_1io_1_1IInferenceRecorder.html">nars.io.IInferenceRecorder</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d6/db1/IInferenceRecorder_8java_source.html#l00003">IInferenceRecorder.java:3</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a482c1432496bcae846033c7ef917edb7_html_a482c1432496bcae846033c7ef917edb7"><div class="ttname"><a href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a482c1432496bcae846033c7ef917edb7.html#a482c1432496bcae846033c7ef917edb7">nars.storage.Memory.ReasonerBatch.getSilenceValue</a></div><div class="ttdeci">AtomicInteger getSilenceValue()</div><div class="ttdoc">Report Silence Level. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l01032">Memory.java:1032</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Task_a0dfdf9a597e57b5cf70d88f954ac7a3f_html_a0dfdf9a597e57b5cf70d88f954ac7a3f"><div class="ttname"><a href="../../dc/ddc/classnars_1_1entity_1_1Task_a0dfdf9a597e57b5cf70d88f954ac7a3f.html#a0dfdf9a597e57b5cf70d88f954ac7a3f">nars.entity.Task.isInput</a></div><div class="ttdeci">boolean isInput()</div><div class="ttdoc">Check if a Task is a direct input. </div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d10/Task_8java_source.html#l00126">Task.java:126</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1NARSBatch_a7e7f64ef4334dd4c3c757937f906ca70_html_a7e7f64ef4334dd4c3c757937f906ca70"><div class="ttname"><a href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a7e7f64ef4334dd4c3c757937f906ca70.html#a7e7f64ef4334dd4c3c757937f906ca70">nars.storage.Memory.NARSBatch.isStandAlone</a></div><div class="ttdeci">static boolean isStandAlone()</div><div class="ttdoc">Whether the project running as an application. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00836">Memory.java:836</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1ReasonerBatch_abe0a305225a0a868b474a76e08cea4b3_html_abe0a305225a0a868b474a76e08cea4b3"><div class="ttname"><a href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_abe0a305225a0a868b474a76e08cea4b3.html#abe0a305225a0a868b474a76e08cea4b3">nars.storage.Memory.ReasonerBatch.toString</a></div><div class="ttdeci">String toString()</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l01027">Memory.java:1027</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1NARSBatch_a05cd31ec7e6c7af1d1d3c3044942995a_html_a05cd31ec7e6c7af1d1d3c3044942995a"><div class="ttname"><a href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a05cd31ec7e6c7af1d1d3c3044942995a.html#a05cd31ec7e6c7af1d1d3c3044942995a">nars.storage.Memory.NARSBatch.init</a></div><div class="ttdeci">void init()</div><div class="ttdoc">Initialize the system at the control center. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00797">Memory.java:797</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a765f58846c419efbd2d9f1a0dd9f4c4d_html_a765f58846c419efbd2d9f1a0dd9f4c4d"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a765f58846c419efbd2d9f1a0dd9f4c4d.html#a765f58846c419efbd2d9f1a0dd9f4c4d">nars.storage.Memory.activateConcept</a></div><div class="ttdeci">void activateConcept(Concept c, BudgetStruct b)</div><div class="ttdoc">Adjust the activation level of a Concept. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00200">Memory.java:200</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1NARSBatch_a294ea170b4b8412f0a87d8f541c5b134_html_a294ea170b4b8412f0a87d8f541c5b134"><div class="ttname"><a href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a294ea170b4b8412f0a87d8f541c5b134.html#a294ea170b4b8412f0a87d8f541c5b134">nars.storage.Memory.NARSBatch.standAlone</a></div><div class="ttdeci">static boolean standAlone</div><div class="ttdoc">Flag to distinguish the two running modes of the project. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00731">Memory.java:731</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a8c50bdf4f2750032f24965e12e9fb59c_html_a8c50bdf4f2750032f24965e12e9fb59c"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a8c50bdf4f2750032f24965e12e9fb59c.html#a8c50bdf4f2750032f24965e12e9fb59c">nars.storage.Memory.getNewTasks</a></div><div class="ttdeci">List&lt; Task &gt; getNewTasks()</div><div class="ttdoc">List of new tasks accumulated in one cycle, to be processed in the next cycle. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00577">Memory.java:577</a></div></div>
<div class="ttc" id="classnars_1_1language_1_1Term_html"><div class="ttname"><a href="../../d8/db8/classnars_1_1language_1_1Term.html">nars.language.Term</a></div><div class="ttdoc">Term is the basic component of Narsese, and the object of processing in NARS. </div><div class="ttdef"><b>Definition:</b> <a href="../../d8/df2/Term_8java_source.html#l00040">Term.java:40</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_ab9958cfc601557bc69b0cd9c89f58cf0_html_ab9958cfc601557bc69b0cd9c89f58cf0"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_ab9958cfc601557bc69b0cd9c89f58cf0.html#ab9958cfc601557bc69b0cd9c89f58cf0">nars.storage.Memory.getCurrentTaskLink</a></div><div class="ttdeci">TaskLink getCurrentTaskLink()</div><div class="ttdoc">The selected TaskLink. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00614">Memory.java:614</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_afdfd74e7953d29059b2cc89b015ca8ec_html_afdfd74e7953d29059b2cc89b015ca8ec"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_afdfd74e7953d29059b2cc89b015ca8ec.html#afdfd74e7953d29059b2cc89b015ca8ec">nars.storage.Memory.getCurrentConcept</a></div><div class="ttdeci">Concept getCurrentConcept()</div><div class="ttdoc">The selected Concept. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00603">Memory.java:603</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a105e44a3504921cc1036eb979b85d9f0_html_a105e44a3504921cc1036eb979b85d9f0"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a105e44a3504921cc1036eb979b85d9f0.html#a105e44a3504921cc1036eb979b85d9f0">nars.storage.Memory.processNewTask</a></div><div class="ttdeci">void processNewTask()</div><div class="ttdoc">Process the newTasks accumulated in the previous workCycle, accept input ones and those that correspo...</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00363">Memory.java:363</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a24dd5c79fa50a7c8cfa9faf6e8a4e650_html_a24dd5c79fa50a7c8cfa9faf6e8a4e650"><div class="ttname"><a href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a24dd5c79fa50a7c8cfa9faf6e8a4e650.html#a24dd5c79fa50a7c8cfa9faf6e8a4e650">nars.storage.Memory.ReasonerBatch.removeOutputChannel</a></div><div class="ttdeci">void removeOutputChannel(OutputChannel channel)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00912">Memory.java:912</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_ac58580cf0e27e42f1972939bec1c0553_html_ac58580cf0e27e42f1972939bec1c0553"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_ac58580cf0e27e42f1972939bec1c0553.html#ac58580cf0e27e42f1972939bec1c0553">nars.storage.Memory.init</a></div><div class="ttdeci">void init()</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00091">Memory.java:91</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1NullInferenceRecorder_a8caa7a65923d1fae07ca45c6bc79ea53_html_a8caa7a65923d1fae07ca45c6bc79ea53"><div class="ttname"><a href="../../de/d27/classnars_1_1storage_1_1Memory_1_1NullInferenceRecorder_a8caa7a65923d1fae07ca45c6bc79ea53.html#a8caa7a65923d1fae07ca45c6bc79ea53">nars.storage.Memory.NullInferenceRecorder.append</a></div><div class="ttdeci">void append(String s)</div><div class="ttdoc">Add new text to display. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00697">Memory.java:697</a></div></div>
<div class="ttc" id="namespacenars_1_1language_html"><div class="ttname"><a href="../../d0/d72/namespacenars_1_1language.html">nars.language</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d5/d0e/CompoundTerm_8java_source.html#l00021">CompoundTerm.java:21</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1Parameters_a1e990f8300e2ef5c61b294913c06ddeb_html_a1e990f8300e2ef5c61b294913c06ddeb"><div class="ttname"><a href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a1e990f8300e2ef5c61b294913c06ddeb.html#a1e990f8300e2ef5c61b294913c06ddeb">nars.storage.Memory.Parameters.TERM_LINK_BAG_SIZE</a></div><div class="ttdeci">static final int TERM_LINK_BAG_SIZE</div><div class="ttdoc">Size of TermLinkBag. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l01131">Memory.java:1131</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1Parameters_ad429788f2e96ef25b2bdadbaaa17ba9b_html_ad429788f2e96ef25b2bdadbaaa17ba9b"><div class="ttname"><a href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_ad429788f2e96ef25b2bdadbaaa17ba9b.html#ad429788f2e96ef25b2bdadbaaa17ba9b">nars.storage.Memory.Parameters.LOAD_FACTOR</a></div><div class="ttdeci">static final float LOAD_FACTOR</div><div class="ttdoc">Hashtable load factor in Bag. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l01125">Memory.java:1125</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Task_a73b96cd17fd93eeab0cc94bd36f25e66_html_a73b96cd17fd93eeab0cc94bd36f25e66"><div class="ttname"><a href="../../dc/ddc/classnars_1_1entity_1_1Task_a73b96cd17fd93eeab0cc94bd36f25e66.html#a73b96cd17fd93eeab0cc94bd36f25e66">nars.entity.Task.toString</a></div><div class="ttdeci">String toString()</div><div class="ttdoc">Get a String representation of the Task. </div><div class="ttdef"><b>Definition:</b> <a href="../../d6/d10/Task_8java_source.html#l00186">Task.java:186</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_ad53ca952609ef865a8559e4a268a69dc_html_ad53ca952609ef865a8559e4a268a69dc"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_ad53ca952609ef865a8559e4a268a69dc.html#ad53ca952609ef865a8559e4a268a69dc">nars.storage.Memory.taskForgettingRate</a></div><div class="ttdeci">AtomicInteger taskForgettingRate</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00060">Memory.java:60</a></div></div>
<div class="ttc" id="interfacenars_1_1storage_1_1BagObserver_html"><div class="ttname"><a href="../../df/d32/interfacenars_1_1storage_1_1BagObserver.html">nars.storage.BagObserver</a></div><div class="ttdef"><b>Definition:</b> <a href="../../d8/de1/BagObserver_8java_source.html#l00003">BagObserver.java:3</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_af46c161061654d05bfe6c5db768ef2ef_html_af46c161061654d05bfe6c5db768ef2ef"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_af46c161061654d05bfe6c5db768ef2ef.html#af46c161061654d05bfe6c5db768ef2ef">nars.storage.Memory.derivedTask</a></div><div class="ttdeci">void derivedTask(Task task)</div><div class="ttdoc">Derived task comes from the inference rules. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00256">Memory.java:256</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a364bf53ee103367ae0518803bc746bc2_html_a364bf53ee103367ae0518803bc746bc2"><div class="ttname"><a href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a364bf53ee103367ae0518803bc746bc2.html#a364bf53ee103367ae0518803bc746bc2">nars.storage.Memory.ReasonerBatch.setTimer</a></div><div class="ttdeci">void setTimer(long timer)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l01060">Memory.java:1060</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a3d47e1393f4751a94e1b18e64c9fa2ef_html_a3d47e1393f4751a94e1b18e64c9fa2ef"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a3d47e1393f4751a94e1b18e64c9fa2ef.html#a3d47e1393f4751a94e1b18e64c9fa2ef">nars.storage.Memory.Memory</a></div><div class="ttdeci">Memory(ReasonerBatch reasoner)</div><div class="ttdoc">Create a new memory. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00082">Memory.java:82</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a7af29c523c107978525ac7be038d4130_html_a7af29c523c107978525ac7be038d4130"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a7af29c523c107978525ac7be038d4130.html#a7af29c523c107978525ac7be038d4130">nars.storage.Memory.getTaskForgettingRate</a></div><div class="ttdeci">AtomicInteger getTaskForgettingRate()</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00516">Memory.java:516</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1NARSBatch_a5f4feaef67fc714ca04ab583fdd0244c_html_a5f4feaef67fc714ca04ab583fdd0244c"><div class="ttname"><a href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a5f4feaef67fc714ca04ab583fdd0244c.html#a5f4feaef67fc714ca04ab583fdd0244c">nars.storage.Memory.NARSBatch.isDumpLastState</a></div><div class="ttdeci">boolean isDumpLastState()</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00844">Memory.java:844</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_aced4c4f51d46fb7046111aac85deffdc_html_aced4c4f51d46fb7046111aac85deffdc"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_aced4c4f51d46fb7046111aac85deffdc.html#aced4c4f51d46fb7046111aac85deffdc">nars.storage.Memory.inputTask</a></div><div class="ttdeci">void inputTask(Task task)</div><div class="ttdoc">Input task processing. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00218">Memory.java:218</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_afe7a5bf6ae7ad1a22e72da27e1ed685c_html_afe7a5bf6ae7ad1a22e72da27e1ed685c"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_afe7a5bf6ae7ad1a22e72da27e1ed685c.html#afe7a5bf6ae7ad1a22e72da27e1ed685c">nars.storage.Memory.singlePremiseTask</a></div><div class="ttdeci">void singlePremiseTask(Term newContent, char punctuation, TruthValue newTruth, BudgetValue newBudget)</div><div class="ttdoc">Shared final operations by all single-premise rules, called in StructuralRules. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00327">Memory.java:327</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1NARSBatch_aa97fcd68270583e60e6bf1b4579d1bdc_html_aa97fcd68270583e60e6bf1b4579d1bdc"><div class="ttname"><a href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_aa97fcd68270583e60e6bf1b4579d1bdc.html#aa97fcd68270583e60e6bf1b4579d1bdc">nars.storage.Memory.NARSBatch.main</a></div><div class="ttdeci">static void main(String args[])</div><div class="ttdoc">The entry point of the standalone application. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00742">Memory.java:742</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1ReasonerBatch_ab6ffd0604cc72ffaf292957cfa4207d4_html_ab6ffd0604cc72ffaf292957cfa4207d4"><div class="ttname"><a href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_ab6ffd0604cc72ffaf292957cfa4207d4.html#ab6ffd0604cc72ffaf292957cfa4207d4">nars.storage.Memory.ReasonerBatch.walk</a></div><div class="ttdeci">void walk(int n)</div><div class="ttdoc">Will carry the inference process for a certain number of steps. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00936">Memory.java:936</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a8787753ee92ab51bb29a868b959c37b1_html_a8787753ee92ab51bb29a868b959c37b1"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a8787753ee92ab51bb29a868b959c37b1.html#a8787753ee92ab51bb29a868b959c37b1">nars.storage.Memory.setSubstitute</a></div><div class="ttdeci">void setSubstitute(HashMap&lt; Term, Term &gt; substitute)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00674">Memory.java:674</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1Parameters_ac515bf0ca3d2fa633b0e2b39c19f7048_html_ac515bf0ca3d2fa633b0e2b39c19f7048"><div class="ttname"><a href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_ac515bf0ca3d2fa633b0e2b39c19f7048.html#ac515bf0ca3d2fa633b0e2b39c19f7048">nars.storage.Memory.Parameters.BAG_THRESHOLD</a></div><div class="ttdeci">static final int BAG_THRESHOLD</div><div class="ttdoc">Level separation in Bag, one digit, for display (run-time adjustable) and management (fixed) ...</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l01123">Memory.java:1123</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a02ce1388773a5d70668d98ae9bd75e74_html_a02ce1388773a5d70668d98ae9bd75e74"><div class="ttname"><a href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a02ce1388773a5d70668d98ae9bd75e74.html#a02ce1388773a5d70668d98ae9bd75e74">nars.storage.Memory.ReasonerBatch.addInputChannel</a></div><div class="ttdeci">void addInputChannel(InputChannel channel)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00900">Memory.java:900</a></div></div>
<div class="ttc" id="classnars_1_1main__nogui_1_1CommandLineParameters_a951a4321a1439178d5f4b173d362acb0_html_a951a4321a1439178d5f4b173d362acb0"><div class="ttname"><a href="../../de/d7c/classnars_1_1main__nogui_1_1CommandLineParameters_a951a4321a1439178d5f4b173d362acb0.html#a951a4321a1439178d5f4b173d362acb0">nars.main_nogui.CommandLineParameters.decode</a></div><div class="ttdeci">static void decode(String[] args, Memory.ReasonerBatch r)</div><div class="ttdef"><b>Definition:</b> <a href="../../d0/dc4/CommandLineParameters_8java_source.html#l00007">CommandLineParameters.java:7</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_aa4c7e1f5823d0404c0cab49b617968f1_html_aa4c7e1f5823d0404c0cab49b617968f1"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_aa4c7e1f5823d0404c0cab49b617968f1.html#aa4c7e1f5823d0404c0cab49b617968f1">nars.storage.Memory.getRecorder</a></div><div class="ttdeci">IInferenceRecorder getRecorder()</div><div class="ttdoc">Inference record text to be written into a log file. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00111">Memory.java:111</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a9652b5277f36d45b4c29da8f51a7f7e9_html_a9652b5277f36d45b4c29da8f51a7f7e9"><div class="ttname"><a href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a9652b5277f36d45b4c29da8f51a7f7e9.html#a9652b5277f36d45b4c29da8f51a7f7e9">nars.storage.Memory.ReasonerBatch.DEBUG</a></div><div class="ttdeci">static final boolean DEBUG</div><div class="ttdoc">global DEBUG print switch </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00855">Memory.java:855</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a0178449f9f095ef69bcb3e9a5e15084b_html_a0178449f9f095ef69bcb3e9a5e15084b"><div class="ttname"><a href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a0178449f9f095ef69bcb3e9a5e15084b.html#a0178449f9f095ef69bcb3e9a5e15084b">nars.storage.Memory.ReasonerBatch.run</a></div><div class="ttdeci">void run()</div><div class="ttdoc">Start the inference process. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00928">Memory.java:928</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_aae366ea198c2340fef786120d5c2163b_html_aae366ea198c2340fef786120d5c2163b"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_aae366ea198c2340fef786120d5c2163b.html#aae366ea198c2340fef786120d5c2163b">nars.storage.Memory.getCurrentBelief</a></div><div class="ttdeci">Sentence getCurrentBelief()</div><div class="ttdoc">The selected belief. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00647">Memory.java:647</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_ad7fc55d6398ff225be8be9c089099c53_html_ad7fc55d6398ff225be8be9c089099c53"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_ad7fc55d6398ff225be8be9c089099c53.html#ad7fc55d6398ff225be8be9c089099c53">nars.storage.Memory.setTaskForgettingRate</a></div><div class="ttdeci">void setTaskForgettingRate(AtomicInteger taskForgettingRate)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00565">Memory.java:565</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1NARSBatch_a431c0e57ee4f4cf68cf8b34d372e2282_html_a431c0e57ee4f4cf68cf8b34d372e2282"><div class="ttname"><a href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_a431c0e57ee4f4cf68cf8b34d372e2282.html#a431c0e57ee4f4cf68cf8b34d372e2282">nars.storage.Memory.NARSBatch.init</a></div><div class="ttdeci">void init(String[] args)</div><div class="ttdoc">initialize from an input file </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00767">Memory.java:767</a></div></div>
<div class="ttc" id="classnars_1_1inference_1_1BudgetFunctions_aabac530761ea7ac0f43f0d1ea8d085c8_html_aabac530761ea7ac0f43f0d1ea8d085c8"><div class="ttname"><a href="../../d7/d11/classnars_1_1inference_1_1BudgetFunctions_aabac530761ea7ac0f43f0d1ea8d085c8.html#aabac530761ea7ac0f43f0d1ea8d085c8">nars.inference.BudgetFunctions.activate</a></div><div class="ttdeci">static void activate(Concept concept, BudgetStruct budget)</div><div class="ttdoc">Activate a concept by an incoming TaskLink. </div><div class="ttdef"><b>Definition:</b> <a href="../../de/d4e/BudgetFunctions_8java_source.html#l00183">BudgetFunctions.java:183</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Item_ab5c9fbb171f325844966b496010acf60_html_ab5c9fbb171f325844966b496010acf60"><div class="ttname"><a href="../../d1/dd1/classnars_1_1entity_1_1Item_ab5c9fbb171f325844966b496010acf60.html#ab5c9fbb171f325844966b496010acf60">nars.entity.Item.getKey</a></div><div class="ttdeci">String getKey()</div><div class="ttdoc">Get the current key. </div><div class="ttdef"><b>Definition:</b> <a href="../../d9/de0/Item_8java_source.html#l00074">Item.java:74</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a35bd424fe988c2d2ac364e9f57d27858_html_a35bd424fe988c2d2ac364e9f57d27858"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a35bd424fe988c2d2ac364e9f57d27858.html#a35bd424fe988c2d2ac364e9f57d27858">nars.storage.Memory.setCurrentConcept</a></div><div class="ttdeci">void setCurrentConcept(Concept currentConcept)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00607">Memory.java:607</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a63058cc52d77412e0aead8387c23aa93_html_a63058cc52d77412e0aead8387c23aa93"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a63058cc52d77412e0aead8387c23aa93.html#a63058cc52d77412e0aead8387c23aa93">nars.storage.Memory.nameToListedTerm</a></div><div class="ttdeci">Term nameToListedTerm(String name)</div><div class="ttdoc">Get a Term for a given name of a Concept or Operator. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00152">Memory.java:152</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1Parameters_a6104cc62b1c0487b31898a8600771fb1_html_a6104cc62b1c0487b31898a8600771fb1"><div class="ttname"><a href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a6104cc62b1c0487b31898a8600771fb1.html#a6104cc62b1c0487b31898a8600771fb1">nars.storage.Memory.Parameters.DEFAULT_CREATION_EXPECTATION</a></div><div class="ttdeci">static final float DEFAULT_CREATION_EXPECTATION</div><div class="ttdoc">Default expectation for confirmation. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l01104">Memory.java:1104</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1ReasonerBatch_ad567a9256ef8674e839ed6fe62664987_html_ad567a9256ef8674e839ed6fe62664987"><div class="ttname"><a href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_ad567a9256ef8674e839ed6fe62664987.html#ad567a9256ef8674e839ed6fe62664987">nars.storage.Memory.ReasonerBatch.updateTimer</a></div><div class="ttdeci">long updateTimer()</div><div class="ttdoc">To get the timer value and then to reset it. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l01041">Memory.java:1041</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a077b38e451ff6e4217bdc2ff0bb08e70_html_a077b38e451ff6e4217bdc2ff0bb08e70"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a077b38e451ff6e4217bdc2ff0bb08e70.html#a077b38e451ff6e4217bdc2ff0bb08e70">nars.storage.Memory.doublePremiseTask</a></div><div class="ttdeci">void doublePremiseTask(Term newContent, TruthValue newTruth, BudgetValue newBudget)</div><div class="ttdoc">Shared final operations by all double-premise rules, called from the rules except StructuralRules...</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00280">Memory.java:280</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1NullInferenceRecorder_a0638f978b4d7b7f211bf4b3c5861292f_html_a0638f978b4d7b7f211bf4b3c5861292f"><div class="ttname"><a href="../../de/d27/classnars_1_1storage_1_1Memory_1_1NullInferenceRecorder_a0638f978b4d7b7f211bf4b3c5861292f.html#a0638f978b4d7b7f211bf4b3c5861292f">nars.storage.Memory.NullInferenceRecorder.openLogFile</a></div><div class="ttdeci">void openLogFile()</div><div class="ttdoc">Open the log file. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00701">Memory.java:701</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a10e1e86d98e1a12f6652ab7452dc7954_html_a10e1e86d98e1a12f6652ab7452dc7954"><div class="ttname"><a href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_a10e1e86d98e1a12f6652ab7452dc7954.html#a10e1e86d98e1a12f6652ab7452dc7954">nars.storage.Memory.ReasonerBatch.getTimer</a></div><div class="ttdeci">long getTimer()</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l01056">Memory.java:1056</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a8a2bb1cc322626bc711f1233e4fd281b_html_a8a2bb1cc322626bc711f1233e4fd281b"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a8a2bb1cc322626bc711f1233e4fd281b.html#a8a2bb1cc322626bc711f1233e4fd281b">nars.storage.Memory.taskBuffersStartPlay</a></div><div class="ttdeci">void taskBuffersStartPlay(BagObserver bagObserver, String s)</div><div class="ttdoc">Display new tasks, called from MainWindow. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00449">Memory.java:449</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1ReasonerBatch_acc60dec23da774957a85362ed6d7448b_html_acc60dec23da774957a85362ed6d7448b"><div class="ttname"><a href="../../dd/da5/classnars_1_1storage_1_1Memory_1_1ReasonerBatch_acc60dec23da774957a85362ed6d7448b.html#acc60dec23da774957a85362ed6d7448b">nars.storage.Memory.ReasonerBatch.doTick</a></div><div class="ttdeci">void doTick()</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00954">Memory.java:954</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1BudgetValue_html"><div class="ttname"><a href="../../db/d8e/classnars_1_1entity_1_1BudgetValue.html">nars.entity.BudgetValue</a></div><div class="ttdoc">A triple of priority (current), durability (decay), and quality (long-term average). </div><div class="ttdef"><b>Definition:</b> <a href="../../d8/d59/BudgetValue_8java_source.html#l00031">BudgetValue.java:31</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1NARSBatch_aa4044ed567b9b4a84059f3d4c9f1fd76_html_aa4044ed567b9b4a84059f3d4c9f1fd76"><div class="ttname"><a href="../../d4/d88/classnars_1_1storage_1_1Memory_1_1NARSBatch_aa4044ed567b9b4a84059f3d4c9f1fd76.html#aa4044ed567b9b4a84059f3d4c9f1fd76">nars.storage.Memory.NARSBatch.setPrintStream</a></div><div class="ttdeci">void setPrintStream(PrintStream out)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00818">Memory.java:818</a></div></div>
<div class="ttc" id="classnars_1_1entity_1_1Concept_afcd1217b7680b073fa51f0d0f159dcea_html_afcd1217b7680b073fa51f0d0f159dcea"><div class="ttname"><a href="../../d4/d22/classnars_1_1entity_1_1Concept_afcd1217b7680b073fa51f0d0f159dcea.html#afcd1217b7680b073fa51f0d0f159dcea">nars.entity.Concept.getTerm</a></div><div class="ttdeci">Term getTerm()</div><div class="ttdoc">Return the associated term, called from Memory only. </div><div class="ttdef"><b>Definition:</b> <a href="../../df/d62/Concept_8java_source.html#l00322">Concept.java:322</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1Parameters_a19b3ac0c78139a1e780b01c9aeaebb24_html_a19b3ac0c78139a1e780b01c9aeaebb24"><div class="ttname"><a href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a19b3ac0c78139a1e780b01c9aeaebb24.html#a19b3ac0c78139a1e780b01c9aeaebb24">nars.storage.Memory.Parameters.DEFAULT_JUDGMENT_PRIORITY</a></div><div class="ttdeci">static final float DEFAULT_JUDGMENT_PRIORITY</div><div class="ttdoc">Default priority of input judgment. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l01108">Memory.java:1108</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1Parameters_a630bc52e3f64f122704392a39ba48e79_html_a630bc52e3f64f122704392a39ba48e79"><div class="ttname"><a href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a630bc52e3f64f122704392a39ba48e79.html#a630bc52e3f64f122704392a39ba48e79">nars.storage.Memory.Parameters.TASK_LINK_BAG_SIZE</a></div><div class="ttdeci">static final int TASK_LINK_BAG_SIZE</div><div class="ttdoc">Size of TaskLinkBag. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l01129">Memory.java:1129</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_aba463345b3a16b90d8c98c7eeb9c8263_html_aba463345b3a16b90d8c98c7eeb9c8263"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_aba463345b3a16b90d8c98c7eeb9c8263.html#aba463345b3a16b90d8c98c7eeb9c8263">nars.storage.Memory.currentTerm</a></div><div class="ttdeci">Term currentTerm</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00066">Memory.java:66</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1Parameters_a87b22dd8d64f45231c78e6efa17be5f6_html_a87b22dd8d64f45231c78e6efa17be5f6"><div class="ttname"><a href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a87b22dd8d64f45231c78e6efa17be5f6.html#a87b22dd8d64f45231c78e6efa17be5f6">nars.storage.Memory.Parameters.NEW_TASK_FORGETTING_CYCLE</a></div><div class="ttdeci">static final int NEW_TASK_FORGETTING_CYCLE</div><div class="ttdoc">Task decay rate in TaskBuffer, in [1, 99]. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l01083">Memory.java:1083</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Bag_adff1bdb7ded17b66dc84068e49571ba7_html_adff1bdb7ded17b66dc84068e49571ba7"><div class="ttname"><a href="../../d9/d37/classnars_1_1storage_1_1Bag_adff1bdb7ded17b66dc84068e49571ba7.html#adff1bdb7ded17b66dc84068e49571ba7">nars.storage.Bag.toStringLong</a></div><div class="ttdeci">String toStringLong()</div><div class="ttdoc">TODO bad paste from preceding. </div><div class="ttdef"><b>Definition:</b> <a href="../../d6/dce/Bag_8java_source.html#l00358">Bag.java:358</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_1_1Parameters_a9d5ff7b62a81d8746ed92d7fb5b84736_html_a9d5ff7b62a81d8746ed92d7fb5b84736"><div class="ttname"><a href="../../da/d3b/classnars_1_1storage_1_1Memory_1_1Parameters_a9d5ff7b62a81d8746ed92d7fb5b84736.html#a9d5ff7b62a81d8746ed92d7fb5b84736">nars.storage.Memory.Parameters.HORIZON</a></div><div class="ttdeci">static final int HORIZON</div><div class="ttdoc">Evidential Horizon, the amount of future evidence to be considered. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l01091">Memory.java:1091</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a8e0d3146c07a1cc961d3ebc63317412d_html_a8e0d3146c07a1cc961d3ebc63317412d"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a8e0d3146c07a1cc961d3ebc63317412d.html#a8e0d3146c07a1cc961d3ebc63317412d">nars.storage.Memory.getCurrentTerm</a></div><div class="ttdeci">Term getCurrentTerm()</div><div class="ttdoc">The selected Term. </div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00592">Memory.java:592</a></div></div>
<div class="ttc" id="classnars_1_1storage_1_1Memory_a004fc746c755e9448a36be1bc48bfe30_html_a004fc746c755e9448a36be1bc48bfe30"><div class="ttname"><a href="../../d8/df4/classnars_1_1storage_1_1Memory_a004fc746c755e9448a36be1bc48bfe30.html#a004fc746c755e9448a36be1bc48bfe30">nars.storage.Memory.setNovelTasks</a></div><div class="ttdeci">void setNovelTasks(NovelTaskBag novelTasks)</div><div class="ttdef"><b>Definition:</b> <a href="../../db/d0c/Memory_8java_source.html#l00557">Memory.java:557</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../dir_ed82ebcd34e530b246c6fd9032262140.html">aruntime</a></li><li class="navelem"><a class="el" href="../../dir_19496ddff8e6c0f2b6654287ecb1a472.html">src</a></li><li class="navelem"><a class="el" href="../../dir_db9c5934f797909f7296c2c2017f7fc9.html">main</a></li><li class="navelem"><a class="el" href="../../dir_6d74390eb6d6287951075e525bcb9bed.html">java</a></li><li class="navelem"><a class="el" href="../../dir_51a24984472456d47100350cd31f9a7c.html">nars</a></li><li class="navelem"><a class="el" href="../../dir_4abf5de01153d141bed7497320034a7d.html">storage</a></li><li class="navelem"><a class="el" href="../../db/d0c/Memory_8java.html">Memory.java</a></li>
    <li class="footer">Generated on Sun Jan 10 2016 18:03:58 for opennars by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.9.1 </li>
  </ul>
</div>
</body>
</html>
